|
|
|
@ -9,6 +9,7 @@ |
|
|
|
</h2> |
|
|
|
<div class="row"> |
|
|
|
{{ Form::model($user, ['route' => ['users.update', $user->id], 'method' =>'patch', 'autocomplete' => 'off']) }} |
|
|
|
{{ Form::model($user, ['route' => ['users.destroy', $user->id], 'method' =>'delete', 'autocomplete' => 'on']) }} |
|
|
|
<div class="col-md-4"> |
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading"><h3 class="panel-title">{{ trans('user.edit') }}</h3></div> |
|
|
|
@ -51,6 +52,7 @@ |
|
|
|
</div> |
|
|
|
<div class="text-right"> |
|
|
|
{{ Form::submit(trans('app.update'), ['class' => 'btn btn-primary']) }} |
|
|
|
{{ Form::submit(trans('app.delete'), ['class' => 'btn btn-danger']) }} |
|
|
|
{{ link_to_route('users.show', trans('app.cancel'), [$user->id], ['class' => 'btn btn-default']) }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|