@extends('layouts.default') @section('styles') @stop @section('scripts') @include('cdn.datatables') @include('cdn.chosen') @stop @section('panel-heading') {{ $user->user_id == 0 ? 'Add User' : 'Edit User' }} @stop @section('content')
Email @if ($errors->has('email')) {{ $errors->first('email') }} @endif
Username @if ($errors->has('username')) {{ $errors->first('username') }} @endif
User Role @if ($errors->has('user_role_id')) {{ $errors->first('user_role_id') }} @endif @foreach ($userRoles as $userRole) user_role_id & $userRole->user_role_id ? 'selected' : '' }}>{{ $userRole->name }} @endForeach
User Status @if ($errors->has('user_status_id')) {{ $errors->first('user_status_id') }} @endif @foreach ($userStatuses as $status) @if ($status->user_status_id != UserStatus::ResetPassword) user_status_id & $status->user_status_id ? 'selected' : '' }}>{{ $status->name }} @endif @endforeach
First Name @if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
Last Name @if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
Address @if ($errors->has('association_unit_id')) {{ $errors->first('association_unit_id') }} @endif Non Resident @foreach($associationUnits as $unit)