@extends('app') @section('content')
{!! Form::model($feedback_question, [ 'action' => $feedback_question->exists ? ['Admin\FeedbackQuestionsController@update', $module->id, $feedback_question->id] : ['Admin\FeedbackQuestionsController@store', $module->id], 'method' => $feedback_question->exists ? 'PUT' : 'POST', 'role' => 'form' ]) !!}
{!! Form::label('quadrant', 'Cuadrante') !!} {!! Form::select('quadrant', ['I' => 'I', 'II' => 'II', 'III' => 'III', 'IV' => 'IV'], null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('quadrant') }}
{!! Form::label('question', 'Pregunta') !!} {!! Form::text('question', null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('question') }}
{!! Form::submit('Guardar', ['class' => 'btn btn-primary btn-lg']) !!}
{!! Form::close() !!}
@endsection