Skip to content

Commit

Permalink
Remove duplicate form elements
Browse files Browse the repository at this point in the history
  • Loading branch information
XWB committed Jul 11, 2017
1 parent 8d847e4 commit 73e1111
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Resources/views/Thread/comment_remove.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
{{ form_rest(form) }}
{% endblock %}

<input type="hidden" name="_method" value="patch" />

<div class="fos_comment_submit">
{% block fos_comment_form_submit %}
<input type="submit" value="{{ 'fos_comment_comment_delete' | trans({}, 'FOSCommentBundle') }}" />
Expand Down
2 changes: 0 additions & 2 deletions Resources/views/Thread/commentable.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
{{ form_rest(form) }}
{% endblock %}

<input type="hidden" name="_method" value="patch" />

<div class="fos_comment_submit">
{% block fos_comment_form_submit %}
<input type="submit" value="{{ (isCommentable ? 'fos_comment_thread_open' : 'fos_comment_thread_close') | trans({}, 'FOSCommentBundle') }}" />
Expand Down

0 comments on commit 73e1111

Please sign in to comment.