@extends('layouts.master') @section('page_title', 'Edit Intake Question') @section('content')
{{ Form::page_header("Edit Questions", "sourcedata") }}
{{ Form::button_back() }}
{!! Form::open(['url' => action('SuperAdminSourceDataController@post_edit_intake_question', compact('section', 'question'))]) !!}
{{ Form::label_styled('Section', 'source-data-label', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::select_ex('intake_section', $section->intake_section, $sections, 6) }}
{{ Form::label_styled('Question', 'source-data-label', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{--TODO Switch to bt Form Component--}} {{ Form::textarea('question', $question->question, ['size' => '100x5', 'class' => 'form-margin-bottom textarea']) }}
{{ Form::label_styled('Notes', 'source-data-label', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{--TODO Switch to bt Form Component--}} {{ Form::textarea('notes', $question->notes, ['size' => '100x5', 'class' => 'form-margin-bottom textarea']) }}
{{ Form::button_save('Update Question') }} {{ Form::button_ex('Delete This Question', null, 'delete-question') }}
{!! Form::close() !!}
@endsection @section('page_script') @endsection @section('page_style') @endsection