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

5 lines
246 B
PHP
Raw Normal View History

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