@extends('layouts.scaffold')
@section('title')
Edit Batch|Golars Networks
@stop
@section('main')
{{ Form::model($batch, array('method' => 'PATCH', 'route' => array('batches.update', $batch->id),'id' => 'editBatch')) }}
-
{{ Form::label('batch_name', 'Batch Name: *') }}
{{ Form::text('batch_name',$batch->batch_name) }}
-
{{ Form::label('batch_start', 'Batch Start: *') }}
{{ Form::text('batch_start',$batch->batch_start,array('class' => 'datepicker')) }}
-
{{ Form::label('technology', 'Technology: *') }}
{{ Form::select('technology',$technologies, $batch->technology_id, array('id' => 'editbatchtech')) }}
-
{{ Form::label('faculy','Faculty: *') }}
{{ Form::select('faculty[]', $faculty, $batch->faculty, array('multiple' => 'true', 'id' => 'editfacid'))}}
-
{{ Form::label('batch_students', 'Batch Students:') }}
{{ Form::select('batch_students[]',$students,$batch->batch_students, array('multiple' => 'true', 'id' => 'stdlist')) }}
-
{{ Form::label('created_at', 'Attestation Date:') }}
{{ Form::text('created_at', date('F d,Y',strtotime($batch->updated_at)),array("readonly"=>"readonly")) }}
-
{{ Form::label('status','Status: *')}}
{{ Form::select('status',array('active' => 'Active','inactive' => 'Inactive'),$batch->status) }}
-
{{ Form::submit('Update', array('class' => 'btn btn-info')) }}
{{ link_to_route('batches.show', 'Cancel', $batch->id, array('class' => 'btn btn-info')) }}
{{ Form::close() }}
@if ($scripts='js/batches/edit_batchs.js') @endif
@stop