{{-- CityHub - Users (admin) --}}
@if($edit)

{{ Lang::get('cityForm.label_form_edit') }}

@else

{{ Lang::get('cityForm.label_form_new') }}

@endif

{{ Form::open(array('route' => $postRoute, 'role' => 'form', 'class' => 'form-horizontal', 'autocomplete' => 'off', "onsubmit"=>"validate(this)")) }} {{ Form::hidden('id', $cityFormID, array('id' => 'id')) }} {{ Form::hidden('city', $city, array('cityID' => 'cityID')) }}
{{ Form::text('form_title', isset($cityForm->title) ? $cityForm->title : null, array('id' => 'form_title', 'class' => 'form-control')) }} @if (isset($errors) && ($errors->first('form_title') != '' || $errors->first('form_title') != null))

{{ $errors->first('form_title') }}

@endif
@if($edit == false)
@else
@foreach($cityForm->cityFormQuestions as $key=>$formItem)
required) checked @endif value="1" type="checkbox">
@foreach($formItem->cityFormAnswers as $key2=>$answer)
@endforeach

{{$key + 1}}

@if($formItem->type != 3)
@endif
@endforeach
@endif {{ Form::button(' ' . Lang::get('core.save'), array('type' => 'submit', 'class' => 'btn btn-success pull-right')) }} {{ Form::button(' ' . Lang::get('core.cancel'), array('type' => 'button', 'class' => 'btn btn-danger pull-right','id'=>'cancelBtn')) }} {{ Form::close() }}