TanchoToplineCargo/resources/views/crud/generated/companies/edit.blade.php

54 lines
2.1 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">Edit Company</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">Edit Company</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<form action="{{route('companies.update',[$data->company_id])}}" id="updateCustomForm" method="POST" >
@csrf <input type=hidden name='company_id' value='{{$data->company_id}}'/>
<div class="row">
<div class="col-lg-8">
<div class="card">
<div class="card-body">
<div class="col-lg-12">{{createText("title","title","Title",'',$data->title)}}</div>
<div class="col-lg-12">{{createText("email","email","Email",'',$data->email)}}</div>
<div class="col-lg-12 pb-2">{{createTextarea("text","text ckeditor-classic","Description",'','',$data->text)}}
</div>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">
Featured Image
</h5>
</div>
<div class="card-body">
{{createImageInput("logo","Logo",'',$data->logo)}}
</div>
</div>
<div class="col-md-12"><?php createButton("btn-primary btn-update","","Update"); ?></div>
</div>
</div>
</form>
@endsection