@extends('layouts/gnr_layout') @section('title', '| Home') @section('content')
Create Guest User
{!! Form::open(array('url' => route('guestUser.store'), 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('name', 'Name : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('name', null, ['class' => 'form-control','id'=>'name', 'autocomplete'=>'off','placeholder' => 'Enter Full Name']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::label('user_name', 'User Name : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('user_name', null, ['class' => 'form-control','id'=>'user_name', 'autocomplete'=>'off', 'placeholder' => 'Enter User Name']) !!} @if ($errors->has('user_name')) {{ $errors->first('user_name') }} @endif
{!! Form::label('email', 'Email : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('email', null, ['class' => 'form-control', 'id' => 'email','autocomplete'=>'off','placeholder' => 'Enter Email']) !!} {{-- @if ($errors->has('email')) {{ $errors->first('email') }} @endif --}}
{!! Form::label('role', 'Role : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('role',$roles, $selectedRole, ['class' => 'form-control', 'id' => 'role', 'placeholder' => 'Select Role']) !!} @if ($errors->has('role')) {{ $errors->first('role') }} @endif
{!! Form::label('project', 'Company : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('company',$companies, $selectedCompany, ['class' => 'form-control', 'id' => 'company', 'placeholder' => 'Select Company']) !!} @if ($errors->has('company')) {{ $errors->first('company') }} @endif
{!! Form::label('project', 'Project : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('project',$projects, $selectedProject, ['class' => 'form-control', 'id' => 'project', 'placeholder' => 'Select Project']) !!} @if ($errors->has('project')) {{ $errors->first('project') }} @endif
{!! Form::label('branch', 'Branch : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('branch',$branches, $selectedBranch, ['class' => 'form-control', 'id' => 'branch', 'placeholder' => 'Select Branch']) !!} @if ($errors->has('branch')) {{ $errors->first('branch') }} @endif
{!! Form::label('status', 'Status : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('status',[0=>'Inactive',1=>'Active'], 1, ['class' => 'form-control', 'autocomplete'=>'off','placeholder' => 'Select Branch']) !!} @if ($errors->has('status')) {{ $errors->first('status') }} @endif
{!! Form::label('password', 'Password : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Enter Password','autocomplete'=>'off']) !!} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{!! Form::label('password_confirmation', 'Confirm Password : ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Re-enter Password','autocomplete'=>'off']) !!} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@endsection