diff --git a/Resources/views/Form/form_control.html.twig b/Resources/views/Form/form_control.html.twig deleted file mode 100644 index b127179be..000000000 --- a/Resources/views/Form/form_control.html.twig +++ /dev/null @@ -1,9 +0,0 @@ -
-
{{ 'views.Person.edit.cancel'|trans }}
- -
-
-
-
- -
diff --git a/Resources/views/Person/edit.html.twig b/Resources/views/Person/edit.html.twig index dce5ce5ea..b85e1e327 100644 --- a/Resources/views/Person/edit.html.twig +++ b/Resources/views/Person/edit.html.twig @@ -9,10 +9,6 @@ {% form_theme form 'ChillMainBundle:Form:fields.html.twig' %} {{ form_start(form) }} -{% set include_temp = 'ChillPersonBundle:Form:form_control.html.twig' %} -{% set include_args = {'return_key': 'chill_person_view', - 'return_args' : { 'person_id' : person.id} } %} -{{ include(include_temp, include_args) }}

{{ 'views.Person.view.general'|trans }}

@@ -21,8 +17,6 @@ {{ form_row(form.genre, {'label' : 'views.Person.view.gender'}) }}
-{{ include(include_temp, include_args) }} -

{{ 'views.Person.view.birth'|trans }}

{{ form_row(form.dateOfBirth, {'label': 'views.Person.view.dateOfBirth'} ) }} @@ -30,15 +24,11 @@ {{ form_row(form.countryOfBirth, { 'label' : 'views.Person.view.contry_of_birth' } ) }}
-{{ include(include_temp, include_args) }} -

{{ 'views.Person.view.administrative'|trans }}

{{ form_row(form.nationality, { 'label' : 'views.Person.view.nationality'|trans} ) }}
-{{ include(include_temp, include_args) }} -

{{ 'views.Person.view.contact'|trans }}

{{ form_row(form.email, {'label': 'views.Person.view.email'}) }} @@ -47,9 +37,17 @@ {{ form_row(form.memo, {'label' : 'views.Person.view.memo'} ) }} -{{ include(include_temp, include_args) }} - {{ form_rest(form) }} + +
+ + + {{ 'views.Person.edit.cancel'|trans }} + + + +
+ {{ form_end(form) }}