28 lines
2.0 KiB
PHP
28 lines
2.0 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('Edit Contacts') }}</h2>
|
||
|
<?php createButton("btn-primary btn-cancel","","Cancel",route('contacts.index')); ?>
|
||
|
|
||
|
</div>
|
||
|
<div class='card-body'>
|
||
|
<form action="{{route('contacts.update',[$data->contact_id])}}" id="updateCustomForm" method="POST" >
|
||
|
@csrf <input type=hidden name='contact_id' value='{{$data->contact_id}}'/>
|
||
|
<div class="row"><div class="col-lg-6">{{createCustomSelect('tbl_forms', 'title', 'form_id', $data->forms_id, 'Forms Id','forms_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createText("name","name","Name",'',$data->name)}}
|
||
|
</div><div class="col-lg-6">{{createText("tagline","tagline","Tagline",'',$data->tagline)}}
|
||
|
</div><div class="col-lg-6">{{createText("address","address","Address",'',$data->address)}}
|
||
|
</div><div class="col-lg-6">{{createText("tel","tel","Tel",'',$data->tel)}}
|
||
|
</div><div class="col-lg-6">{{createText("fax","fax","Fax",'',$data->fax)}}
|
||
|
</div><div class="col-lg-6">{{createText("email1","email1","Email1",'',$data->email1)}}
|
||
|
</div><div class="col-lg-6">{{createText("email2","email2","Email2",'',$data->email2)}}
|
||
|
</div><div class="col-lg-6">{{createText("website","website","Website",'',$data->website)}}
|
||
|
</div><div class="col-lg-12 pb-2">{{createPlainTextArea("google_map","Google Map",'',$data->google_map)}}
|
||
|
</div><div class="col-lg-6">{{createText("facebook","facebook","Facebook",'',$data->facebook)}}
|
||
|
</div><div class="col-lg-6">{{createText("hp1","hp1","Hp1",'',$data->hp1)}}
|
||
|
</div><div class="col-lg-6">{{createText("hp2","hp2","Hp2",'',$data->hp2)}}
|
||
|
</div><div class="col-lg-12 pb-2">{{createPlainTextArea("remarks","Remarks",'',$data->remarks)}}
|
||
|
</div> <div class="col-md-12"><?php createButton("btn-primary btn-update","","Submit"); ?>
|
||
|
<?php createButton("btn-primary btn-cancel","","Cancel",route('contacts.index')); ?>
|
||
|
</div> </form></div></div>
|
||
|
@endsection
|