@extends('author.dashboard') @section('Title', 'Create Microunit') @section('stylesheets') @endsection @section('content')

Dashboard OPALESCE Version 1.0

{!! Breadcrumbs::render('authaddmicrounits') !!}

Create Microunit

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::open(['route'=> 'authpanel.microunits.store', 'method'=>'POST', 'class'=> 'form-horizontal', 'files'=> true ]) !!}

Microunit Main Info

{{ Form::label('language_id', 'Language *', ['class'=>'col-lg-3 control-label', 'for'=>'validate-language']) }}
{{ Form::label('license_id', 'License *', ['class'=>'col-lg-3 control-label', 'for'=>'validate-license']) }}
{{ Form::label('category_id', 'Topic *', ['class'=>'col-lg-3 control-label', 'for'=>'validate-topic']) }}
{{ Form::label('title', 'Title *', ['class'=>'col-lg-1 control-label', 'for'=>'validate-title']) }}
{{ Form::text('title', null, array( 'class' => 'form-control', 'name'=> 'title', 'id' => 'mu-title', 'placeholder' => 'Title...', 'required')) }}
{{ Form::label('image', 'Feature Image *', ['class' => 'col-lg-6 control-label']) }}
{{ Form::file('image', array( 'class' => 'form-control', 'id' => 'mu-file' )) }}
{{ Form::label('material', 'I take full responsibility for the uploaded material', ['class'=>'col-lg-6 control-label']) }}
{{ Form::checkbox('material', 1, true) }}

Microunit Description & Target Group

{{ Form::label('description', 'Description *', ['class'=>'col-lg-2 control-label', 'for'=>'validate-desc']) }}
{{ Form::textarea('description', null, array( 'class' => 'form-control', 'placeholder' => 'Description...', 'rows'=> '3', 'id' => 'mu-desc')) }}
{{ Form::label('target', 'Target *', ['class'=>'col-lg-2 control-label', 'for'=>'validate-desc']) }}
{{ Form::textarea('target', null, array('class' => 'form-control', 'placeholder' => 'Description...', 'rows'=> '3', 'id'=>'mu-target')) }}

Microunit Tags

{{ Form::label('tag_id', 'Tags', ['class'=>'col-sm-2 control-label', 'for'=>'validate-topic']) }}

Microunit Text Info

{{ Form::label('short_description', 'Short Desc', ['class'=>'col-lg-1 control-label', 'for'=>'validate-desc']) }}
{{ Form::textarea('short_description', null, array('class' => 'form-control', 'placeholder' => 'Short Description...', 'rows'=> '3')) }}
{{ Form::label('experiences', 'Experiences', ['class'=>'col-lg-2 control-label', 'for'=>'validate-desc']) }}
{{ Form::textarea('experiences', null, array('class' => 'form-control', 'placeholder' => 'Experiences...', 'rows'=> '3')) }}
{{ Form::label('learning_styles', 'Learning Styles', ['class'=>'col-lg-2 control-label', 'for'=>'validate-desc']) }}
{{ Form::textarea('learning_styles', null, array('class' => 'form-control', 'placeholder' => 'Learning Styles...', 'rows'=> '3')) }}
{{ Form::label('prerequisites', 'Pre-requisites', ['class'=>'col-lg-2 control-label', 'for'=>'validate-desc']) }}
{{ Form::textarea('prerequisites', null, array('class' => 'form-control', 'placeholder' => 'Pre-requisites...', 'rows'=> '3')) }}
{{ Form::label('funding', 'Funding', ['class'=>'col-lg-2 control-label', 'for'=>'validate-desc']) }}
{{ Form::textarea('funding', null, array('class' => 'form-control', 'placeholder' => 'Funding...', 'rows'=> '3')) }}

Add Element to Microunit

{{ Form::label('title', 'Title *', ['class'=>'col-lg-1 control-label', 'for'=>'validate-desc']) }}
{{ Form::label('element_id', 'Element *', ['class'=>'col-lg-2 control-label', 'for'=>'validate-element']) }}
{{ Form::label('status_id', 'Status *', ['class'=>'col-lg-2 control-label', 'for'=>'validate-status']) }}
{{ Form::label('language_id', 'Language *', ['class'=>'col-lg-2 control-label', 'for'=>'validate-language']) }}
{{ Form::label('filename', 'File', ['class'=>'col-lg-2 control-label', 'for'=>'validate-language']) }}
{{ Form::label('description', 'Description', ['class'=>'col-lg-1 control-label', 'for'=>'validate-desc']) }}
{{ Form::label('short_description', 'Short Description', ['class'=>'col-lg-1 control-label short-description', 'for'=>'validate-desc']) }}
{{ Form::label('audiofile', 'Audio File', ['class'=>'col-lg-1 control-label audio-file', 'for'=>'validate-desc']) }}
{!! Form::close() !!}
@endsection @section('javascripts') @endsection