37 lines
3.4 KiB
PHP
37 lines
3.4 KiB
PHP
@extends('backend.template')
|
|
@section('content')
|
|
<div class='card'>
|
|
<div class='card-header d-flex justify-content-between align-items-center'>
|
|
<h2 class="">{{ label('Edit Programs') }}</h2>
|
|
<?php createButton("btn-primary btn-cancel","","Cancel",route('programs.index')); ?>
|
|
|
|
</div>
|
|
<div class='card-body'>
|
|
<form action="{{route('programs.update',[$data->program_id])}}" id="updateCustomForm" method="POST" >
|
|
@csrf <input type=hidden name='program_id' value='{{$data->program_id}}'/>
|
|
<div class="row"><div class="col-lg-6">{{createCustomSelect('tbl_institutions', 'title', 'institution_id', $data->institutions_id, 'Institutions Id','institutions_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createText("title","title","Title",'',$data->title)}}
|
|
</div><div class="col-lg-12 pb-2">{{createTextarea("description","description ckeditor-classic","Description",$data->description)}}
|
|
</div><div class="col-lg-6">{{createText("program_level","program_level","Program Level",'',$data->program_level)}}
|
|
</div><div class="col-lg-6">{{createText("years","years","Years",'',$data->years)}}
|
|
</div><div class="col-lg-6">{{createText("psw","psw","Psw",'',$data->psw)}}
|
|
</div><div class="col-lg-6">{{createText("prospects","prospects","Prospects",'',$data->prospects)}}
|
|
</div><div class="col-lg-6">{{createText("intake","intake","Intake",'',$data->intake)}}
|
|
</div><div class="col-lg-6">{{createText("institution","institution","Institution",'',$data->institution)}}
|
|
</div><div class="col-lg-6">{{createText("city","city","City",'',$data->city)}}
|
|
</div><div class="col-lg-6">{{createText("application_open","application_open","Application Open",'',$data->application_open)}}
|
|
</div><div class="col-lg-6">{{createText("application_deadline","application_deadline","Application Deadline",'',$data->application_deadline)}}
|
|
</div><div class="col-lg-6">{{createText("level","level","Level",'',$data->level)}}
|
|
</div><div class="col-lg-6">{{createText("min_level","min_level","Min Level",'',$data->min_level)}}
|
|
</div><div class="col-lg-6">{{createText("min_level_faculty","min_level_faculty","Min Level Faculty",'',$data->min_level_faculty)}}
|
|
</div><div class="col-lg-6">{{createText("min_level_score","min_level_score","Min Level Score",'',$data->min_level_score)}}
|
|
</div><div class="col-lg-6">{{createText("min_level_passout","min_level_passout","Min Level Passout",'',$data->min_level_passout)}}
|
|
</div><div class="col-lg-6">{{createText("min_level_optional_requirement","min_level_optional_requirement","Min Level Optional Requirement",'',$data->min_level_optional_requirement)}}
|
|
</div><div class="col-lg-6">{{createText("prof_test_required","prof_test_required","Prof Test Required",'',$data->prof_test_required)}}
|
|
</div><div class="col-lg-6">{{createText("prof_test_accepted","prof_test_accepted","Prof Test Accepted",'',$data->prof_test_accepted)}}
|
|
</div><div class="col-lg-6">{{createText("prof_test_min_score","prof_test_min_score","Prof Test Min Score",'',$data->prof_test_min_score)}}
|
|
</div><div class="col-lg-6">{{createText("prof_test_band_score","prof_test_band_score","Prof Test Band Score",'',$data->prof_test_band_score)}}
|
|
</div><div class="col-lg-12 pb-2">{{createPlainTextArea("remarks",'',"Remarks",$data->remarks)}}
|
|
</div> <div class="col-md-12"><?php createButton("btn-primary btn-update","","Submit"); ?>
|
|
<?php createButton("btn-primary btn-cancel","","Cancel",route('programs.index')); ?>
|
|
</div> </form></div></div>
|
|
@endsection
|