@extends('layouts.main', ['activePage' => 'users', 'titlePage' => 'Nuevo usuario']) @section('content')

Usuario

Ingresar datos

{{-- @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif --}}
@csrf
V-
@if ($errors->has('ci')) {{ $errors->first('ci') }} @endif
@if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
@if ($errors->has('primary_lastname')) {{ $errors->first('primary_lastname') }} @endif
@if ($errors->has('date_birth')) {{ $errors->first('date_birth') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('state')) {{ $errors->first('state') }} @endif
@if ($errors->has('province')) {{ $errors->first('province') }} @endif
@if ($errors->has('locality')) {{ $errors->first('locality') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phones')) {{ $errors->first('phones') }} @endif
@if(isset($sedes)) {{ Form::select('sede_id', $sedes, null, ['class'=>'form-control', 'placeholder' => '.:Seleccione:.', 'id'=>'sede_id']) }} @endif @if ($errors->has('sede_id')) {{ $errors->first('sede_id') }} @endif
@if(isset($roles)) {{ Form::select('role_id', $roles, null, ['class'=>'form-control', 'placeholder' => '.:Seleccione:.', 'id'=>'role_id']) }} @endif @if ($errors->has('role_id')) {{ $errors->first('role_id') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@endsection @section('scripts') @endsection