edit.html.twig 586B

123456789101112131415161718
  1. <form
  2. id="edit_{{ comment.u.i }}_{{ comment.d|date_epurate }}"
  3. action="{{ path('ajax_update_comment', {
  4. 'element_id':element_id,
  5. 'date': date,
  6. 'token':app.user.getPersonalHash,
  7. 'dom_id': comment.u.i~'_'~(comment.d|date_epurate)
  8. }) }}"
  9. method="post"
  10. name="edit_comment"
  11. class="edit_comment"
  12. >
  13. {% include "MuzichCommentBundle:Comment:form.html.twig" with {
  14. 'submit_value' : 'element.comments.edit_submit'|trans({}, 'elements'),
  15. 'cancel_value' : 'element.comments.edit_cancel'|trans({}, 'elements'),
  16. 'comment_value' : comment.c
  17. } %}
  18. </form>