Skip to content

Commit ce7a477

Browse files
authored
Merge pull request #607 from XWB/method
Remove duplicate form elements
2 parents 200b021 + 73e1111 commit ce7a477

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Resources/views/Thread/comment_remove.html.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
{{ form_rest(form) }}
1919
{% endblock %}
2020

21-
<input type="hidden" name="_method" value="patch" />
22-
2321
<div class="fos_comment_submit">
2422
{% block fos_comment_form_submit %}
2523
<input type="submit" value="{{ 'fos_comment_comment_delete' | trans({}, 'FOSCommentBundle') }}" />

Resources/views/Thread/commentable.html.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
{{ form_rest(form) }}
2222
{% endblock %}
2323

24-
<input type="hidden" name="_method" value="patch" />
25-
2624
<div class="fos_comment_submit">
2725
{% block fos_comment_form_submit %}
2826
<input type="submit" value="{{ (isCommentable ? 'fos_comment_thread_open' : 'fos_comment_thread_close') | trans({}, 'FOSCommentBundle') }}" />

0 commit comments

Comments
 (0)