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

5 lines
246 B
PHP
Raw Normal View History

2015-07-15 17:55:49 -04:00
<form action="{{$url}}" method="POST" class="inline">
2015-07-12 15:01:42 -04: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 15:01:42 -04:00
</form>