Added a back button

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-13 20:47:35 -07:00
parent dd9c9520fb
commit e8973f08b5

View file

@ -10,6 +10,10 @@
@stop
@section('header_right')
<a href="{{ URL::previous() }}" class="btn btn-primary" style="margin-right: 10px;">
{{ trans('general.back') }}</a>
<div class="btn-group pull-right">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">{{ trans('button.actions') }}
<span class="caret"></span>
@ -18,6 +22,7 @@
<li><a href="{{ route('categories.edit', ['category' => $category->id]) }}">{{ trans('admin/categories/general.edit') }}</a></li>
<li><a href="{{ route('categories.create') }}">{{ trans('general.create') }}</a></li>
</ul>
</div>
@stop