@extends('backend.layouts.app') @section('title', __('labels.backend.tests.title').' | '.app_name()) @push('after-styles') @endpush @section('content') {!! Form::open(['method' => 'POST', 'route' => ['admin.tests.store']]) !!}

@lang('labels.backend.tests.create')

{!! Form::label('course_id', trans('labels.backend.tests.fields.course'), ['class' => 'control-label']) !!} {!! Form::select('course_id', $courses, old('course_id'), ['class' => 'form-control select2']) !!}
{!! Form::label('title',trans('labels.backend.tests.fields.title'), ['class' => 'control-label']) !!} {!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.tests.fields.title')]) !!}
{!! Form::label('description',trans('labels.backend.tests.fields.description'), ['class' => 'control-label']) !!} {!! Form::textarea('description', old('description'), ['class' => 'form-control ', 'placeholder' => trans('labels.backend.tests.fields.description')]) !!}
{!! Form::hidden('published', 0) !!} {!! Form::checkbox('published', 1, false, []) !!} {!! Form::label('published', trans('labels.backend.tests.fields.published'), ['class' => 'control-label font-weight-bold']) !!}
{!! Form::submit(trans('strings.backend.general.app_save'), ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @stop