@extends('layout.master') @section('title') @if (isset($pageTitle)) {{ $pageTitle }} @endif @endsection @section('main-body')

{{ isset($pageTitle) ? $pageTitle : '' }}

@include('layout.message')
@if(isset($user)) {{ Form::open(['route' => 'userUpdateProcess', 'files' => 'true']) }} @else {{ Form::open(['route' => 'userAddProcess', 'files' => 'true']) }} @endif
{{ $errors->first('name') }}
@if(isset($user)) {{$user->email}} @else @endif {{ $errors->first('email') }}
@if(empty($user))
{{ $errors->first('password') }}
{{ $errors->first('password_confirmation') }}
@endif
{{ $errors->first('role') }}
{{ $errors->first('country') }}
@if(isset($user)) @endif
{{ Form::close() }}
@endsection @section('script') @endsection