@extends('admin.layouts.layout') @section('content')

{{ trans('admin_lang.add') }} User Question

{{ Form::open(['route' => [routeFormUser($pagePath . '.store')], 'files' => true, 'class' => 'upload_submit']) }}
{!! Form::text('question', null, ['class' => 'form-control', 'placeholder' => 'Enter Question', 'required']) !!} @if ($errors->has('question')) {{ $errors->first('question') }} @endif
{!! Form::text('option1', null, ['class' => 'form-control', 'placeholder' => 'Enter Option 1', 'required']) !!} @if ($errors->has('option1')) {{ $errors->first('option1') }} @endif
{!! Form::text('option2', null, ['class' => 'form-control', 'placeholder' => 'Enter Option 2', 'required']) !!} @if ($errors->has('option2')) {{ $errors->first('option2') }} @endif
{!! Form::text('option3', null, ['class' => 'form-control', 'placeholder' => 'Enter Option 3', 'required']) !!} @if ($errors->has('option3')) {{ $errors->first('option3') }} @endif
{{ Form::close() }}
@endsection