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

5 lines
246 B
PHP
Raw Normal View History

2015-07-15 23:55:49 +02:00
<form action="{{$url}}" method="POST" class="inline">
2015-07-12 21:01:42 +02:00
{{ csrf_field() }}
<input type="hidden" name="_method" value="DELETE">
<button type="submit" class="button neg">{{ isset($text) ? $text : trans('common.delete') }}</button>
2015-07-12 21:01:42 +02:00
</form>