{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'add-new-class-routine-store', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'name' => 'myForm', 'onsubmit' => "return validateAddNewroutine()"]) }}
@if(isset($assigned_id))
@endif
@lang('common.select_subject') *
@foreach($subjects as $subject) @if(!in_array($subject->subject_id, $assinged_subject))
subject_id?'selected':''):''}}>{{ @$subject->subject->subject_name}}
@endif @endforeach
@lang('common.teacher')
*
@lang('common.select_room') *
@foreach($rooms as $room) @if(!in_array($room->id, $assinged_room))
id?'selected':''):''}}>{{ @$room->room_no}}
@endif @endforeach
@if(!isset($assigned_id))
@endif
@lang('common.cancel')
@lang('common.save_information')
{{ Form::close() }}
@push('script')