<div class="form-group<?php echo e($errors->has('question') ? ' has-error' : ''); ?>">
	<?php echo Form::label('question', 'Pregunta'); ?>

	<?php echo Form::text('question', null, ['class' => 'form-control']); ?>

	<?php if($errors->has('question')): ?>
		<span class="help-block">
			<strong><?php echo e($errors->first('question')); ?></strong>
		</span>
	<?php endif; ?>
</div>

<div class="form-group<?php echo e($errors->has('question') ? ' has-error' : ''); ?>">
	<?php echo Form::label('question_type','Tipo de formulario'); ?>

	<?php echo Form::select('question_type', array('I' => 'Check In', 'O' => 'Check Out'), ['class' => 'form-control']); ?>

</div>

<div class="pull-right">
	<?php echo Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']); ?>

	<a href="<?php echo e(asset('/questions')); ?>" type="button" class="btn btn-default btn-flat"><?php echo e(trans('general.cancel')); ?></a>
</div>