This commit is contained in:
2021-12-01 21:04:06 -03:00
parent 1230c02f60
commit 7e01974ec8
201 changed files with 15370 additions and 0 deletions

View File

@ -0,0 +1,24 @@
@extends('admin.base')
@section('content')
<div class="row page-heading">
<div class="col-md-12 h3">Agregar Rol - {{$user->name}}</div>
</div>
<br />
<form class="form-horizontal" method="post" action="{{url('', ['p' => 'admin', 'a' => 'do_add_user_role', 'user' => $user->id])}}">
<div class="form-group">
<div class="col-md-2">Rol</div>
<div class="col-md-3"><select name="role[]" class="form-control" multiple="multiple">
@foreach ($roles as $role)
@if ($user->hasRole($role->id))
@continue
@endif
<option value="{{$role->id}}">{{$role->description}}</option>
@endforeach
</select></div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-2"><button type="submit" class="form-control">Agregar</button></div>
</div>
</form>
@endsection