@extends('layouts.default')
@section('title', 'Create new user')
@section('new_button')
Users List
@endsection
@section('content')
{!! Form::open(['url'=>'users', 'autocomplete'=>'off', 'id'=>'createForm', 'files'=>'true']) !!} {{-- Marketing Info --}}
Marketing Information
{!! Form::textGroup('name', 'Name', null, ['required'=>'required']) !!}
{!! Form::emailGroup('email', 'Email', null, ['required'=>'required']) !!}
{!! Form::fileGroup('profile_pic', 'Profile pic') !!}
{{ Form::selectGroup('country_id', 'Country', $countries, null, ['data-live-search'=>'true', 'onchange'=>'getStates(1)', 'id'=>'country_1']) }}
{{ Form::selectGroup('state_id', 'State', $states, null, ['data-live-search'=>'true', 'onchange'=>'getCities(1)', 'id'=>'state_1']) }}
{{ Form::selectGroup('city_id', 'City', $cities, null, ['data-live-search'=>'true', 'id'=>'city_1']) }}
{{-- Personal Info --}}
Personal Information
{{ Form::textGroup('mark_name', 'Name', null, []) }}
{{ Form::textGroup('mark_email', 'Email', null, []) }}
{{ Form::selectGroup('mark_country_id', 'Country', $countries, null, ['data-live-search'=>'true', 'id'=>'country_2', 'onchange'=>'getStates(2)']) }}
{{ Form::selectGroup('mark_state_id', 'State', $states, null, ['data-live-search'=>'true', 'id'=>'state_2', 'onchange'=>'getCities(2)']) }}
{{ Form::selectGroup('mark_city_id', 'City', $cities, null, ['data-live-search'=>'true', 'id'=>'city_2']) }}
{{-- Role & Department --}}
User Information
{!! Form::selectGroup('company_id', 'Company', $companies, null, ['class'=>'selectpicker','data-live-search'=>'true' ,'required'=>'required', 'id'=>'companySelect']) !!}
{!! Form::selectGroup('department_id', 'Department', $departments, null, ['class'=>'selectpicker','data-live-search'=>'true', 'title'=>'Select Department']) !!}
Select Role
Reporting Person
Cancel
{!! Form::submit('Save', ['type' => 'submit', 'class' =>
'btn btn-primary waves-effect waves-light']) !!}
{!! Form::close() !!}
@endsection