@extends("administrador.administrador") @section("contenido")
{!! Form::open(['url' => '/actualizarUsuario', 'method' => 'post', 'files' => true]) !!} @csrf
{!! Form::label('foto', 'Foto',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::file('foto',['class' => 'form-control'])!!}
{!! Form::label('name', 'Nombre',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('PrimerApellido', 'Primer apellido',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('segundoApellido', 'Segundo apellido',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('carrera_id', 'Carrera',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('semestre', 'Semestre',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('tipoDocumento_id', 'Tipo de documento',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('numeroDocumento', 'Numero de documento',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('fechaExpedicion', 'Fecha de expedicion',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('telefono', 'Telefono',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('celular', 'Celular',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('direccion', 'Dirección',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('ciudad_id', 'Ciudad',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('email', 'Email',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{!! Form::label('role_id', 'Rol',['class' => 'col-md-4 col-form-label text-md-right']) !!}
{{ Form::submit('Actualizar',['class' => 'btn btn-success']) }}
{!! Form::close() !!} @if(isset($error['password'])) {{$error['password']}} @endif @if(count($errors) > 0) @foreach($errors->all() as $error) {{$error}} @endforeach @endif
@endsection