@extends('layouts/eims_layout') @section('title', '| ' . $pageTitle) @section('content')
Add {{$pageTitle}}
{!! Form::open(array('url' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label( 'name', 'Title/Name: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('name', $value = null, ['class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => 'Enter title/name']) !!}

{!! Form::label( 'from_date', 'From Date: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('from_date', $branch_campus_active_date, ['class' => 'form-control', 'id' => 'from_date','readonly','autocomplete'=>'off']) !!}

{!! Form::label( 'to_date', 'To Date: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('to_date', $branch_campus_active_date, ['class' => 'form-control', 'id' => 'to_date','readonly','autocomplete'=>'off']) !!}

{!! Form::label( 'program', $companyType == 'UNV' ? 'Program: *' : 'Medium/Version: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
@foreach($programs as $program_id)
{!! Form::checkbox("program_id[]", $program_id->id, null, array('class' => 'cbr','id'=>'program_id'.$program_id->id)) !!}   {!! Form::label('program_id'.$program_id->id, $program_id->name, ['class' => 'control-label']) !!}
@endforeach

{!! Form::label('submit', ' ', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@endsection