@extends('layouts.app') @section('content')
@include('layouts.includes.header')

Add Sub User

{!! Form::open(array('url'=>'/sub_user_add')) !!}
@if ($errors->has('name')) The first name field is required. @endif
@if ($errors->has('lname')) The Last name field is required. @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
{!! Form::close() !!}
@endsection