@extends('umrah.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('_version_02.umrah.layouts.partials._alert')

{{App\Language::trans('Detail Form')}}

{!! Form::label('name', App\Language::trans('Name'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('name', null, ['class'=>'form-control','autofocus','required']) !!} {!!$errors->first('name', '')!!}

{{App\Language::trans('Address Information')}}

{!! Form::label('address', App\Language::trans('Address'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('address', null, ['class'=>'form-control']) !!} {!!$errors->first('address', '')!!}
{!! Form::label('postcode', App\Language::trans('Postcode'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('postcode', null, ['class'=>'form-control']) !!} {!!$errors->first('postcode', '')!!}
{!! Form::label('country_id', App\Language::trans('Country'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('country_id', App\Country::combobox(), null, ['class'=>'form-control','onchange'=>'init_state_selectbox(this)']) !!} {!!$errors->first('country_id', '')!!}
{!! Form::label('state_id', App\Language::trans('State'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('state_id', App\State::combobox(old('country_id') ? old('country_id'):$model->country_id), null, ['class'=>'form-control','onchange'=>'init_city_selectbox(this)']) !!} {!!$errors->first('state_id', '')!!}
{!! Form::label('city_id', App\Language::trans('City'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('city_id', App\City::combobox(old('state_id') ? old('state_id'):$model->state_id), null, ['class'=>'form-control']) !!} {!!$errors->first('city_id', '')!!}

{{App\Language::trans('Contact Information')}}

{!! Form::label('contact_person', App\Language::trans('Contact Person'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('contact_person', null, ['class'=>'form-control']) !!} {!!$errors->first('contact_person', '')!!}
{!! Form::label('email', App\Language::trans('Email'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('email', null, ['class'=>'form-control']) !!} {!!$errors->first('email', '')!!}
{!! Form::label('tel', App\Language::trans('Tel'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('tel', null, ['class'=>'form-control']) !!} {!!$errors->first('tel', '')!!}
{!! Form::label('mobile', App\Language::trans('Mobile'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('mobile', null, ['class'=>'form-control']) !!} {!!$errors->first('mobile', '')!!}
{!! Form::label('website', App\Language::trans('Website'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('website', null, ['class'=>'form-control']) !!} {!!$errors->first('website', '')!!}
{!! Form::label('status', App\Language::trans('Status'), ['class'=>'control-label col-md-4']) !!}
{!!$errors->first('status', '')!!}
{!! Form::close() !!} @endsection @section('script') @endsection