{!! Form::open(['url' => route('postCreateEventQuestion', ['event_id'=>$event->id]), 'id' => 'edit-question-form', 'class' => 'ajax']) !!}

Create Question

{!! Form::text('title', '', [ 'id' => 'question-title', 'class' => 'form-control', 'placeholder' => 'e.g.: What is your name?', ]) !!}
{!! Form::text('instructions', null, [ 'id' => 'question-instructions', 'class' => 'form-control', ]) !!}
has_options) ? ' class="hide"' : '' !!}> Question Options
Option name
Add another option
{!! Form::checkbox('is_required', 'yes', false, ['id' => 'is_required']) !!} {!! Form::label('is_required', 'Make this a required question') !!}
@foreach ($event->tickets as $ticket)
@endforeach
{!! Form::button('Cancel', ['class'=>"btn modal-close btn-danger",'data-dismiss'=>'modal']) !!} {!! Form::submit('Save Question', ['class'=>"btn btn-success"]) !!}
{!! Form::close() !!}