Quellcode durchsuchen

Logiciel: Anomalie #876: add route parameter in template

Bastien Sevajol vor 10 Jahren
Ursprung
Commit
3c8e5b7784

+ 0 - 0
src/Muzich/CoreBundle/Factory/Elements/Mixcloudcom.php Datei anzeigen


+ 1 - 1
src/Muzich/CoreBundle/Resources/views/Element/element.edit.html.twig Datei anzeigen

6
 
6
 
7
   <span class="sinfo">{{ 'system.infos.normally_js'|trans({}, 'userui') }}</span>
7
   <span class="sinfo">{{ 'system.infos.normally_js'|trans({}, 'userui') }}</span>
8
 
8
 
9
-  <form novalidate name="{{ form_name }}" action="{{ path('element_update', {'element_id': element_id}) }}" method="post" {{ form_enctype(form) }}>
9
+  <form novalidate name="{{ form_name }}" action="{{ path('element_update', {'element_id': element_id, 'dom_id': 'element_' ~ element_id}) }}" method="post" {{ form_enctype(form) }}>
10
 
10
 
11
     {% include "MuzichCoreBundle:Element:form.edit.html.twig" with { 
11
     {% include "MuzichCoreBundle:Element:form.edit.html.twig" with { 
12
       'form'          : form, 
12
       'form'          : form,