Add Answer

{!! Form::open(['route'=> ['authpanel.qstanswer.store', $question->id], 'method'=>'POST', 'class'=> 'form-horizontal']) !!}
{{ Form::label('answer', 'Answer', ['class'=>'col-sm-2 control-label', 'for'=>'validate-title']) }}
{{ Form::text('answer', null, array( 'class' => 'form-control', 'name'=> 'answer', 'id' => 'validate-answer', 'placeholder' => 'Answer...', 'required'=> '', 'maxlength'=>'255')) }}
{{ Form::label('correct', 'Correct', ['class'=>'col-sm-2 control-label']) }}
{{ Form::checkbox('correct', 1, true) }}
{!! Form::close() !!}