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

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

{{--
--}} {{--
--}} {{-- {!! Form::label('course_id', trans('labels.backend.tests.fields.course'), ['class' => 'control-label']) !!}--}} {{-- {!! Form::select('course_id', $courses, old('course_id') ?? request('course_id'), ['class' => 'form-control select2']) !!}--}} {{--
--}} {{--
--}} {{-- {!! Form::label('chapter_id', trans('labels.backend.lessons.fields.test_chapter'), ['class' => 'control-label']) !!}--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- {!! Form::label('lesson_id', trans('labels.backend.tests.fields.lesson'), ['class' => 'control-label']) !!}--}} {{-- --}} {{--
--}}
{!! Form::label('title', trans('labels.backend.tests.fields.title_ar'), ['class' => 'control-label']) !!} {!! Form::text('title_ar', old('title_ar'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.tests.fields.title_ar')]) !!}
{!! Form::label('title', trans('labels.backend.tests.fields.title_en'), ['class' => 'control-label']) !!} {!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.tests.fields.title')]) !!}
{!! Form::label('type', trans('labels.backend.activities.fields.mark_type'), ['class' => 'control-label']) !!}
{!! Form::label('description_ar', trans('labels.backend.tests.fields.description_ar'), ['class' => 'control-label']) !!} {!! Form::textarea('description_ar', old('description_ar'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.tests.fields.description_ar')]) !!}
{!! 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::label('activity_img', trans('labels.backend.lessons.fields.downloadable_files').' '.trans('labels.backend.lessons.max_file_size'), ['class' => 'control-label']) !!} {!! Form::file('activity_img', [ 'multiple', 'class' => 'form-control file-upload', 'id' => 'activity_img', 'accept' => "image/jpeg,image/gif,image/png,application/msword,audio/mpeg,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.ms-powerpoint,application/pdf,video/mp4" ]) !!}
{!! 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 @push('after-scripts') @endpush