Raffales-LMS/resources/views/crud/generated/contactus/edit.blade.php
2024-04-16 15:43:24 +05:45

22 lines
1.5 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 Contactus') }}</h2>
<?php createButton("btn-primary btn-cancel","","Cancel",route('contactus.index')); ?>
</div>
<div class='card-body'>
<form action="{{route('contactus.update',[$data->inquiries_id])}}" id="updateCustomForm" method="POST" >
@csrf <input type=hidden name='inquiries_id' value='{{$data->inquiries_id}}'/>
<div class="row"><div class="col-lg-6">{{createText("title","title","Title",'',$data->title)}}
</div><div class="col-lg-6">{{createText("email","email","Email",'',$data->email)}}
</div><div class="col-lg-6">{{createText("phone","phone","Phone",'',$data->phone)}}
</div><div class="col-lg-6">{{createText("country_interested","country_interested","Country Interested",'',$data->country_interested)}}
</div><div class="col-lg-6">{{createText("study_background","study_background","Study Background",'',$data->study_background)}}
</div><div class="col-lg-6">{{createText("terms_and_condition","terms_and_condition","Terms And Condition",'',$data->terms_and_condition)}}
</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('contactus.index')); ?>
</div> </form></div></div>
@endsection