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

5 lines
246 B
PHP
Raw Normal View History

2015-07-16 05:55:49 +08:00
<form action="{{$url}}" method="POST" class="inline">
2015-07-13 03:01:42 +08: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-13 03:01:42 +08:00
</form>