@include('commons/input', [ 'title' => 'Name', 'type' => 'text', 'name' => 'name', 'value' => $module->name, 'required' => true, 'errors' => $errors, 'maxlength' => 32 ])
@include('commons/textarea', [ 'title' => 'Description', 'name' => 'desc', 'value' => $module->description, 'required' => false, 'errors' => $errors ])
@include('commons/textarea', [ 'title' => 'Georgia Standards of Excellence', 'name' => 'short', 'value' => $module->short, 'required' => false, 'errors' => $errors ])
@include('commons/input', [ 'title' => 'Funding Partner', 'type' => 'text', 'name' => 'partner', 'value' => $module->partner, 'required' => false, 'errors' => $errors ])
@include('modules/subtopics')
{{--
@include('modules/grades')
--}}
{{--
@include('modules/themes')
--}}
@if (AuthHelper::is_admin())
@include('modules/formats')
@else
@endif
@include('modules/background')
@if ($module->videos->count() > 0)
@foreach ($module->videos as $video)
@include('modules/videos', ['id' => $x, 'video' => $video])
@endforeach
@else
@include('modules/videos', ['id' => 1])
@endif
videos()->count() == 0) value="1" @else value="0" @endif>