|
|
|
@ -169,12 +169,12 @@ class SimpleCrudBs3OptionsTest extends TestCase |
|
|
|
<hr style=\"margin:0\">
|
|
|
|
<div class=\"panel-body text-danger\">{{ __('{$this->lang_name}.delete_confirm') }}</div>
|
|
|
|
<div class=\"panel-footer\">
|
|
|
|
<form method=\"POST\" action=\"{{ route('{$this->table_name}.destroy', \$editable{$this->model_name}) }}\" accept-charset=\"UTF-8\" onsubmit=\"return confirm("Are you sure to delete this?")\" class=\"del-form pull-right\" style=\"display: inline;\">
|
|
|
|
<form method=\"POST\" action=\"{{ route('{$this->table_name}.destroy', \$editable{$this->model_name}) }}\" accept-charset=\"UTF-8\" onsubmit=\"return confirm("{{ __('app.delete_confirm') }}")\" class=\"del-form pull-right\" style=\"display: inline;\">
|
|
|
|
{{ csrf_field() }} {{ method_field('delete') }} |
|
|
|
<input name=\"{$this->lang_name}_id\" type=\"hidden\" value=\"{{ \$editable{$this->model_name}->id }}\">
|
|
|
|
<input name=\"page\" value=\"{{ request('page') }}\" type=\"hidden\">
|
|
|
|
<input name=\"q\" value=\"{{ request('q') }}\" type=\"hidden\">
|
|
|
|
<button title=\"Delete this item\" type=\"submit\" class=\"btn btn-danger\">{{ __('app.delete_confirm_button') }}</button>
|
|
|
|
<button type=\"submit\" class=\"btn btn-danger\">{{ __('app.delete_confirm_button') }}</button>
|
|
|
|
</form> |
|
|
|
<a href=\"{{ route('{$this->table_name}.index', Request::only('q', 'page')) }}\" class=\"btn btn-default\">{{ __('app.cancel') }}</a>
|
|
|
|
</div> |
|
|
|
|