Commit 94e74d24 authored by S-Nathalia's avatar S-Nathalia
Browse files

Ao editar o tipo do usuário está causando erro.#456

parent 5a805a92
......@@ -66,7 +66,8 @@
</div>
<div class="col-md-4">
<label for="tipo" class="col-form-label">{{ __('Tipo*') }}</label>
<select name="tipo" id="tipo" onchange="mudar()" class="form-control">
<input readonly id="tipo" type="text" name="tipo" value="{{$user->tipo}}" class="form-control" autofocus/>
<!-- <select disabled name="tipo" id="tipo" onchange="mudar()" class="form-control">
@if(auth()->user()->tipo == 'administrador')
<option @if($user->tipo =='administradorResponsavel' ) selected @endif value="administradorResponsavel">Administrador responsável</option>
@endif
......@@ -74,7 +75,7 @@
<option @if($user->tipo =='avaliador' ) selected @endif value="avaliador">Avaliador</option>
<option @if($user->tipo =='proponente' ) selected @endif value="proponente">Proponente</option>
<option @if($user->tipo =='participante' ) selected @endif value="participante">Discente</option>
</select>
</select> -->
</div>
<div class="col-md-2">
<label for="celular" class="col-form-label">{{ __('Celular*') }}</label>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment