@extends('_version_02.commons.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('_version_02.commons.layouts.partials._alert')
{{App\Language::trans('City Detail')}}

{!! 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','autofocus','required','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($model->country_id), null, ['class'=>'form-control','required']) !!} {!!$errors->first('state_id', '')!!}
{!! Form::label('code', App\Language::trans('Code'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('code', null, ['class'=>'form-control','required']) !!} {!!$errors->first('code', '')!!}
{!! Form::label('name', App\Language::trans('Name'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('name', null, ['class'=>'form-control','required']) !!} {!!$errors->first('name', '')!!}
{!! Form::label('status', App\Language::trans('Status'), ['class'=>'control-label col-md-12']) !!}
status) == true ? ($model->status == true ? 'checked' : '') : 'checked'}}>
status) == true ? ($model->status == false ? 'checked' : '') : ''}}>
{!!$errors->first('status', '')!!}
@include('_version_02.commons.layouts.partials._form_floaring_footer_standard') {!! Form::close() !!} @endsection @section('script') @endsection