master_template/resources/views/crud/generated/accridiations/create.blade.php

32 lines
1.5 KiB
PHP
Raw Normal View History

2024-06-10 12:21:58 +00:00
@extends('backend.template')
2024-06-15 16:38:54 +00:00
@section('content')
<div class='card'>
2024-06-10 12:21:58 +00:00
<div class='card-header d-flex justify-content-between align-items-center'>
2024-06-15 16:38:54 +00:00
<h2 class="">{{ label('Add Accridiations') }}</h2>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('accridiations.index')); ?>
2024-06-10 12:21:58 +00:00
</div>
<div class='card-body'>
2024-06-15 16:38:54 +00:00
<form action="{{ route('accridiations.store') }}" id="storeCustomForm" method="POST">
@csrf
<div class="row">
<div class="col-lg-6">{{ createText('display', 'display', 'Display') }}
</div>
<div class="col-lg-6">{{ createText('title', 'title', 'Title') }}
</div>
<div class="col-lg-12 pb-2">{{ createTextarea('text', 'text ckeditor-classic', 'Text') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('image', 'Image') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('cover', 'Cover') }}
</div> <br>
<div class="col-md-12"><?php createButton('btn-primary btn-store', '', 'Submit'); ?>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('accridiations.index')); ?>
</div>
</form>
</div>
</div>
@endsection