소스 검색

Logiciel: Anomalie #876: add route parameter in template

Bastien Sevajol 10 년 전
부모
커밋
3c8e5b7784
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 0
      src/Muzich/CoreBundle/Factory/Elements/Mixcloudcom.php
  2. 1 1
      src/Muzich/CoreBundle/Resources/views/Element/element.edit.html.twig

+ 0 - 0
src/Muzich/CoreBundle/Factory/Elements/Mixcloudcom.php 파일 보기


+ 1 - 1
src/Muzich/CoreBundle/Resources/views/Element/element.edit.html.twig 파일 보기

@@ -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,