@extends ('backend.layouts.app') @section ('title', 'Risk Profiler | Create Question') @section('after-styles') @endsection @section('page-header')

Risk Profiler Management Create Question

@endsection @section('content') {{ Form::open(['route' => 'admin.risk_profiler.question.store', 'enctype' => "multipart/form-data", 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-partner']) }}

Create Question

@include('backend.risk_profiler.question.partials.question-header-buttons')
{{ Form::label('Title', 'Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter title']) }}
{{ Form::label('Overview', 'Overview', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('overview', null, ['class' => 'form-control', 'id' => 'overview', 'required' => 'required', 'placeholder' => 'Enter overview']) }}
{{ Form::label('Select type', 'Select type', ['class' => 'col-lg-2 control-label']) }}
@if (count($answers) > 0)
{{ Form::label('Select answers', 'Select answers', ['class' => 'col-lg-2 control-label']) }}
@else No answers avaliable @endif
{{ Form::label('Active', 'Active', ['class' => 'col-lg-2 control-label']) }}
{{ link_to_route('admin.risk_profiler.question.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-xs']) }}
{{ Form::submit(trans('buttons.general.crud.create'), ['class' => 'btn btn-success btn-xs']) }}
{{ Form::close() }} @endsection @section('after-scripts') @endsection