Raffales-LMS/resources/views/crud/generated/institutions/create.blade.php
2024-04-16 15:43:24 +05:45

66 lines
3.7 KiB
PHP

@extends('backend.template')
@section('content')
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
<h4 class="mb-sm-0">{{ label('Add Institution') }}</h4>
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">Dashboards</a></li>
<li class="breadcrumb-item active">{{ label('Add Institution') }}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<form action="{{route('institutions.store')}}" id="storeCustomForm" method="POST">
@csrf
<div class="row">
<div class="col-lg-9 col-md-8">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-lg-12">{{createText("title","title","Title")}}</div>
<div class="col-lg-6">{{createCustomSelect('tbl_institutiontypes', 'title', 'institutiontype_id', '', 'Institutiontypes Id','institutiontypes_id', 'form-control select2','status<>-1')}}</div>
<div class="col-lg-6">{{createCustomSelect('tbl_countries', 'title', 'country_id', '', 'Countries Id','countries_id', 'form-control select2','status<>-1')}}</div>
</div>
<div class="col-lg-12 pb-2">{{createTextarea("description","description ckeditor-classic","Description")}}</div>
<div class="col-lg-12 pb-2">{{createPlainTextArea("remarks","remarks ","Remarks")}}</div>
</div>
</div>
<div class="col-md-12"><?php createButton("btn-primary btn-store","","Submit"); ?>
<?php createButton("btn-danger btn-cancel","","Cancel",route('institutions.index')); ?>
</div>
</div>
<div class="col-lg-3 col-md-4">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Address</h5>
</div>
<div class="card-body">
<div class="row">
<div class="col-lg-12">{{createText("state","state","State")}}</div>
<div class="col-lg-12">{{createText("city","city","City")}}</div>
<div class="col-lg-12">{{createText("address","address","Address")}}</div>
<div class="col-lg-12">{{createText("contact","contact","Contact")}}</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Image</h5>
</div>
<div class="card-body">
<div class="col-lg-12 pb-2">{{createImageInput("logo","Logo")}}</div>
<div class="col-lg-12 pb-2">{{createImageInput("thumb","Thumb")}}</div>
</div>
</div>
</div>
</form>
@endsection