BookStack/resources/views/form/delete-button.blade.php

5 lines
217 B
PHP
Raw Normal View History

2015-07-12 15:01:42 -04:00
<form action="{{$url}}" method="POST">
{{ csrf_field() }}
<input type="hidden" name="_method" value="DELETE">
<button type="submit" class="button neg">{{ isset($text) ? $text : 'Delete' }}</button>
</form>