@extends('layouts/app') @section('css') @stop @section('content')

Add User

@if(Session::has('error'))
Errors!
@foreach(Session::get('error') as $err) {{ $err }}
@endforeach @php Session::forget('error'); @endphp
@endif
@csrf
* @if ($errors->has('user_name')) {{ $errors->first('user_name') }} @endif
* @if ($errors->has('name')) {{ $errors->first('name') }} @endif
* @if ($errors->has('email')) {{ $errors->first('email') }} @endif
* @if ($errors->has('password')) {{ $errors->first('password') }} @endif
* @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
* @if ($errors->has('role')) {{ $errors->first('role') }} @endif
* @if ($errors->has('branches')) {{ $errors->first('branches') }} @endif
@endsection @section('js') @stop