@extends('layouts.default') @section('title', 'Create implementor') @section('header-links') @include('includes.headers.implementors') @endsection @section('new_button') remove_red_eye Implementors list @endsection @section('content')
{!! Form::model($implementor, ['route'=>['implementors.update', $implementor], 'id'=>'create_vendor_form', 'class'=>'', 'data-toggle'=>'validator', 'role'=>'form', 'method'=>'PUT']) !!}
{!! Form::textGroup('name', 'Implementor company name', null, ['id'=>'name', 'required'=>'required', 'maxlength'=>'100']) !!}
{!! Form::textGroup('contact_name', 'Contact person', null, ['id'=>'contact_name', 'required'=>'required', 'maxlength'=>'100']) !!}
{!! Form::textGroup('email', 'Implementor email', null, ['id'=>'email', 'required'=>'required', 'pattern'=>'[a-z0-9._-]+@[a-z0-9.-]+\.[a-z.]{2,}$', 'data-pattern-error'=>'Also, include a TLD. (Example: .com, .co.in, .co.us ...)', 'maxlength'=>'50']) !!}
{!! Form::textGroup('mobile', 'Implementor mobile', null, ['id'=>'mobile', 'required'=>'required', 'maxlength'=>'14']) !!}
{!! Form::textGroup('website', 'Website', null, ['id'=>'website']) !!}
{!! Form::selectGroup('country_id', 'Country', $countries, null, ['id'=>'country_1', 'required'=>'required', 'data-live-search'=>'true', 'onchange'=>'getStates(1)']) !!}
{!! Form::selectGroup('state_id', 'State', $states, null, ['id'=>'state_1', 'data-live-search'=>'true', 'onchange'=>'getCities(1)']) !!}
{!! Form::selectGroup('city_id', 'City', $cities, null, ['id'=>'city_1', 'data-live-search'=>'true']) !!}
{!! Form::textareaGroup('address', 'Address', null, ['id'=>'address']) !!}
{{ Form::saveButton('Save') }}
{!! Form::close() !!}
@include('includes.country-state-city-script') @stop