@extends('layouts.scaffold')
@section('title')
Add Batch|Golars Networks
@stop
@section('main')
@if ($errors->any())
{{ implode('', $errors->all('- :message
')) }}
@endif
{{ Form::open(array('route' => 'batches.store', 'id'=> 'createBatch')) }}
-
{{ Form::label('batch_name', 'Batch Name: *') }}
{{ Form::text('batch_name') }}
-
{{ Form::label('batch_start', 'Batch Start: *') }}
{{ Form::text('batch_start', null,array('class' => 'datepicker')) }}
-
{{ Form::label('technology', 'Technology: *') }}
{{ Form::select('technology',$technologies, null, array('id' => 'batchtech')) }}
-
{{ Form::label('faculy','Faculty: *') }}
{{ Form::select('faculty[]',$faculty,null,array('multiple' => 'true','id' => 'facid'))}}
-
{{ Form::label('batch_students', 'Batch Students:') }}
{{ Form::select('batch_students[]',$students, null, array('multiple' => 'true', 'id' => 'stdlist')) }}
-
{{ Form::label('status','Status: *')}}
{{ FOrm::select('status',array('active' => 'Active','inactive' => 'Inactive'))}}
-
{{ Form::submit('Submit', array('class' => 'btn btn-info')) }}
{{ link_to_route('batches.index', 'Cancel', null, array('class' => 'btn btn-info')) }}
{{ Form::close() }}
@if ($scripts='js/batches/create_batchs.js') @endif
@stop