{!! Form::open(array('url' => route('postCreateTicket', array('event_id' => $event->id)), 'class' => 'ajax')) !!}

@lang("ManageEvent.create_ticket")

{!! Form::label('title', trans("ManageEvent.ticket_title"), array('class'=>'control-label required')) !!} {!! Form::text('title', old('title'), array( 'class'=>'form-control', 'placeholder'=>trans("ManageEvent.ticket_title_placeholder") )) !!}
{!! Form::label('price', trans("ManageEvent.ticket_price"), array('class'=>'control-label required')) !!} {!! Form::text('price', old('price'), array( 'class'=>'form-control', 'placeholder'=>trans("ManageEvent.price_placeholder") )) !!}
{!! Form::label('quantity_available', trans("ManageEvent.quantity_available"), array('class'=>' control-label')) !!} {!! Form::text('quantity_available', old('quantity_available'), array( 'class'=>'form-control', 'placeholder'=>trans("ManageEvent.quantity_available_placeholder") ) ) !!}
{!! Form::label('description', trans("ManageEvent.ticket_description"), array('class'=>'control-label')) !!} {!! Form::text('description', old('description'), array( 'class'=>'form-control' )) !!}
{!! Form::label('start_sale_date', trans("ManageEvent.start_sale_on"), array('class'=>' control-label')) !!} {!! Form::text('start_sale_date', old('start_sale_date'), [ 'class'=>'form-control start hasDatepicker ', 'data-field'=>'datetime', 'data-startend'=>'start', 'data-startendelem'=>'.end', 'readonly'=>'' ]) !!}
{!! Form::label('end_sale_date', trans("ManageEvent.end_sale_on"), [ 'class'=>' control-label ' ]) !!} {!! Form::text('end_sale_date', old('end_sale_date'), [ 'class'=>'form-control end hasDatepicker ', 'data-field'=>'datetime', 'data-startend'=>'end', 'data-startendelem'=>'.start', 'readonly'=>'' ]) !!}
{!! Form::label('min_per_person', trans("ManageEvent.minimum_tickets_per_order"), array('class'=>' control-label')) !!} {!! Form::selectRange('min_per_person', 1, 100, 1, ['class' => 'form-control']) !!}
{!! Form::label('max_per_person', trans("ManageEvent.maximum_tickets_per_order"), array('class'=>' control-label')) !!} {!! Form::selectRange('max_per_person', 1, 100, 30, ['class' => 'form-control']) !!}
{!! Form::checkbox('is_hidden', 1, false, ['id' => 'is_hidden']) !!} {!! Form::label('is_hidden', trans("ManageEvent.hide_this_ticket"), array('class'=>' control-label')) !!}
@lang("ManageEvent.more_options")
{!! Form::button(trans("basic.cancel"), ['class'=>"btn modal-close btn-danger",'data-dismiss'=>'modal']) !!} {!! Form::submit(trans("ManageEvent.create_ticket"), ['class'=>"btn btn-success"]) !!}
{!! Form::close() !!}