@extends('layouts.admin') @section('title') Admin | User Add @endsection @section('content')

User/Create

User @if(!empty($user)) Update @else Create @endif
@if(Session::has('success'))
{{ Session::get('success') }}
@endif @if(Session::has('error'))
{{ Session::get('error') }}
@endif
{{ csrf_field() }} @if(!empty($user)) @method('PUT') @endif
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('username')) {{ $errors->first('username') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('place')) {{ $errors->first('place') }} @endif
@if ($errors->has('street')) {{ $errors->first('street') }} @endif
@if ($errors->has('zipcode')) {{ $errors->first('zipcode') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('state')) {{ $errors->first('state') }} @endif
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
Cancel
@endsection @section('scripts') @endsection