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

61 lines
3.3 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
@extends('backend.template')
@section('content')
<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 Contact Detail') }}</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 Contact Detail') }}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<form action="{{route('contacts.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("name","name","Name")}}</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4"></div>
</div>
<div class='card'>
<div class='card-header d-flex justify-content-between align-items-center'>
<h2 class="">{{ label('Add Contacts') }}</h2>
<?php createButton("btn-primary btn-cancel","","Cancel",route('contacts.index')); ?>
</div>
<div class='card-body'>
<div class="row"><div class="col-lg-6">{{createCustomSelect('tbl_forms', 'title', 'form_id', '', 'Forms Id','forms_id', 'form-control select2','status<>-1')}}</div>
<div class="col-lg-6">{{createText("tagline","tagline","Tagline")}}
</div><div class="col-lg-6">{{createText("address","address","Address")}}
</div><div class="col-lg-6">{{createText("tel","tel","Tel")}}
</div><div class="col-lg-6">{{createText("fax","fax","Fax")}}
</div><div class="col-lg-6">{{createText("email1","email1","Email1")}}
</div><div class="col-lg-6">{{createText("email2","email2","Email2")}}
</div><div class="col-lg-6">{{createText("website","website","Website")}}
</div><div class="col-lg-12 pb-2">{{createPlainTextArea("google_map","google_map ckeditor-classic","Google Map")}}
</div><div class="col-lg-6">{{createText("facebook","facebook","Facebook")}}
</div><div class="col-lg-6">{{createText("hp1","hp1","Hp1")}}
</div><div class="col-lg-6">{{createText("hp2","hp2","Hp2")}}
</div><div class="col-lg-12 pb-2">{{createPlainTextArea("remarks","remarks ckeditor-classic","Remarks")}}
</div> <br> <div class="col-md-12"><?php createButton("btn-primary btn-store","","Submit"); ?>
<?php createButton("btn-primary btn-cancel","","Cancel",route('contacts.index')); ?>
</div> </form></div></div>
@endsection