41 lines
1.7 KiB
PHP
41 lines
1.7 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('Add Service') }}</h2>
|
||
|
|
||
|
</div>
|
||
|
<div class='card-body'>
|
||
|
<form action="{{ route('services.store') }}" id="storeCustomForm" method="POST">
|
||
|
@csrf
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">{{ createText('title', 'title', 'Title') }}
|
||
|
</div>
|
||
|
<div class="col-lg-12"> {{ createCustomSelect('tbl_services', 'title', 'service_id', 'service_id', 'Parent Service', 'parent_service', 'form-control select2', 'status<>-1') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12">
|
||
|
{{ createText('sub_text', 'sub_text', 'Short Desc For Home Page') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-6">
|
||
|
{{ createText('icon', 'icon', 'Icon Name', '', '', 'ex: flaticon-transport-5') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-6">
|
||
|
<label for="icon" class="col-form-label">Thumb</label>
|
||
|
{{ createImageInput('thumb', 'Thumb') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12 pb-2">{{ createTextarea('text', 'text ckeditor-classic', 'Description') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-12 mt-2">
|
||
|
<?php createButton('btn-primary btn-store', '', 'Submit'); ?>
|
||
|
<?php createButton('btn-danger btn-cancel', '', 'Cancel', route('services.index')); ?>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endsection
|