BookStack/resources/views/form/delete-button.blade.php
2015-07-15 22:55:49 +01:00

5 lines
232 B
PHP

<form action="{{$url}}" method="POST" class="inline">
{{ csrf_field() }}
<input type="hidden" name="_method" value="DELETE">
<button type="submit" class="button neg">{{ isset($text) ? $text : 'Delete' }}</button>
</form>