TanchoToplineCargo/resources/views/crud/generated/companyarticles/create.blade.php

64 lines
2.6 KiB
PHP
Raw Permalink Normal View History

2024-05-05 04:47:49 +00:00
@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 Company Article') }}</h4>
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">Home</a></li>
<li class="breadcrumb-item active">{{ label('Add Company Article') }}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<form action="{{ route('companyarticles.store') }}" id="storeCustomForm" method="POST">
@csrf
<div class="row">
<div class="col-lg-9">
<div class="card">
<div class="card-body">
<div class="col-lg-12">{{ createText('title', 'title', 'Title') }}</div>
<div class="col-lg-12 pb-2">{{ createTextarea('text', 'text ckeditor-classic', 'Text') }}
</div>
</div>
</div>
</div>
<div class="col-lg-3">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">
Parent Article
</h5>
</div>
<div class="card-body">
<div class="col-lg-12">
{{ createCustomSelect('tbl_companyarticles', 'title', 'article_id', 'article_id', 'Parent Service', 'parent_article', 'form-control select2', 'status<>-1') }}
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Photo & Icon</h5>
</div>
<div class="card-body">
{{ createImageInput('cover_photo', 'Cover Photo') }}
{{ createText('icon','icon', 'Icon(Optional)','','','ex: flaticon-international-delivery') }}
</div>
</div>
<?php createButton('btn-primary btn-store', '', 'Submit'); ?>
<?php createButton('btn-danger btn-cancel', '', 'Cancel', route('companyarticles.index')); ?>
</div>
</div>
</form>
@endsection