@extends('layouts/eims_layout') @section('title', '| ' . $data['pageTitle']) @section('content') @include('successMsg')

Add {{ $data['pageTitle'] }}

{{-- Form Collection using Laravel Collective --}} {!! Form::open([ 'route' => 'eims_exam_subject_marks_config_store', 'id' => 'admissionExamSubjectMarkConfigurationForm', 'class' => 'form-horizontal form-groups', 'autocomplete' => 'off' ]) !!}
{!! Form::label( 'program_id', $data['companyType'] == 'UNV' ? 'Program: *' : 'Medium/Version: *', ['class' => 'control-label text-gray col-sm-4'], false, ) !!}
{!! Form::select('program_id', $programs, $value = null, [ 'class' => 'form-control', 'id' => 'program_id', 'placeholder' => $data['companyType'] == 'UNV' ? 'Select Program' : 'Select Medium/Version', ]) !!}

{!! Form::label( 'semester_class_id', $data['companyType'] == 'UNV' ? 'Semester: *' : 'Class: *', ['class' => 'control-label text-gray col-sm-4'], false, ) !!}
{!! Form::select('semester_class_id', $semesterClass, $value = null, [ 'class' => 'form-control', 'id' => 'semester_class_id', 'placeholder' => $data['companyType'] == 'UNV' ? 'Select Semester' : 'Select Class', ]) !!}

{!! Form::label('name', 'Exam Subject Config Name: *', [ 'class' => 'control-label text-gray col-sm-4', ], false) !!}
{!! Form::text('name', null, [ 'id' => 'name', 'class' => 'form-control', 'placeholder' => 'Enter Exam Subject Config Name/Title', ]) !!}
{!! Form::label('effective_date', 'Effective Date: *', [ 'class' => 'control-label text-gray col-sm-4', ], false) !!}
{!! Form::text('effective_date', null, [ 'id' => 'effective_date', 'class' => 'form-control', 'placeholder' => 'Enter Effective Date', 'readonly' => 'readonly', ]) !!}
@foreach ($contentType as $value => $name) @endforeach

Exam Marking Range
{!! Form::number('max_marks[1]', null, [ 'class' => 'form-control max-mark-input', 'placeholder' => 'Enter Max Marks', 'id' => 'max_mark_1', 'step' => '0.01', 'min' => '0', 'oninput' => "validity.valid||(value=''); toggleMarksInput();" ]) !!}
{!! Form::number('min_marks[1]', null, [ 'class' => 'form-control min-mark-input', 'placeholder' => 'Enter Min Marks', 'id' => 'min_mark_1', 'min' => '0.01', 'step' => '0.01', 'oninput' => "validity.valid||(value=''); toggleMinMarksInput();" ]) !!}


Exam Criteria
Subject Name {!! Form::text('subject_name[]', null, [ 'class' => 'form-control input-sm text-center subject_name', 'id' => 'subject_name1', 'placeholder' => 'Enter Subject Name', 'autocomplete' => 'off', 'style' => 'margin-right: 10px;', 'oninput' => "checkForReadonly(this,1)" ]) !!}
Mark {!! Form::number('subject_marks[]', null, [ 'class' => 'form-control input-sm text-center subject_marks_input', 'id' => 'subject_marks_input1', 'placeholder' => 'Enter Marks', 'autocomplete' => 'off', 'min' => '0', 'step' => '0.01', 'oninput' => "validity.valid||(value='');", 'readonly' => true ]) !!}
Pass Mark {!! Form::number('subject_pass_marks[]', null, [ 'class' => 'form-control input-sm text-center subject_pass_marks_input', 'id' => 'subject_pass_marks_input1', 'placeholder' => 'Enter Marks', 'autocomplete' => 'off', 'min' => '0', 'step' => '0.01', 'oninput' => "validity.valid||(value='');", // Merged the two oninput functions 'readonly' => true ]) !!}


{{-- Submit Button --}}
{!! Form::close() !!}
@endsection