Skip to content

Commit

Permalink
Fixed the "Delete" button in the "Edit" form
Browse files Browse the repository at this point in the history
This was already fixed in 597226c
but somehow it was lost in the next commits and pull requests.
  • Loading branch information
javiereguiluz committed Jan 19, 2015
1 parent 457569c commit d55d1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/edit.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<i class="fa fa-save"></i> {{ 'entity.save_changes' | trans }}
</button>

<button onclick="document.getElementById('delete-form').submit()" class="btn btn-danger">
<button type="button" onclick="document.getElementById('delete-form').submit()" class="btn btn-danger">
<i class="fa fa-trash"></i> {{ 'entity.delete' | trans() }}
</button>

Expand Down

0 comments on commit d55d1cd

Please sign in to comment.