@extends('promoters.create.layout') @section('main_content') {!! Form::model($promoter, ['route' => 'promoter.create.promoter_information.post', 'id' => 'create-promoter-info-form','class' => 'margin-right', 'method' => 'post', 'files' => true]) !!}

{{ trans('promoters.create.title') }}

@if ($errors->any())
{{ trans('promoters.create.errors') }}
@endif
{{ trans('promoters.general_information') }}
{{ Form::label('name', trans('promoters.name'), ['class' => 'control-label']) }} {{ Form::text('name', $errors->has('name') ? null : Session::get('promoterData.name'), ['class' => 'form-control']) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('type_id', trans('promoters.type'), ['class' => 'control-label']) }} {{-- promoterTypeCode field is used for validation --}} {{ Form::hidden('promoterTypeCode', Session::get('promoterData.promoterTypeCode'), ['id' => 'promoter-type-code']) }} @if ($errors->has('type_id')) {{ $errors->first('type_id') }} @endif
{{ trans('common.cancel') }}
{{ Form::submit(trans('common.next'), ['class' => 'btn btn-success']) }}
{{ Form::close() }} @endsection @section('bottom_js') @parent @endsection