Browse Source

Logiciel: Anomalie #876: add route parameter in template

Bastien Sevajol 10 years ago
parent
commit
3c8e5b7784

+ 0 - 0
src/Muzich/CoreBundle/Factory/Elements/Mixcloudcom.php View File


+ 1 - 1
src/Muzich/CoreBundle/Resources/views/Element/element.edit.html.twig View File

@@ -6,7 +6,7 @@
6 6
 
7 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 11
     {% include "MuzichCoreBundle:Element:form.edit.html.twig" with { 
12 12
       'form'          : form,