TanchoToplineCargo/resources/views/crud/generated/subscribers/edit.blade.php
2024-05-05 10:32:49 +05:45

17 lines
965 B
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 Subscribers') }}</h2>
<?php createButton("btn-primary btn-cancel","","Cancel",route('subscribers.index')); ?>
</div>
<div class='card-body'>
<form action="{{route('subscribers.update',[$data->subscriber_id])}}" id="updateCustomForm" method="POST" >
@csrf <input type=hidden name='subscriber_id' value='{{$data->subscriber_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-md-12"><?php createButton("btn-primary btn-update","","Submit"); ?>
<?php createButton("btn-primary btn-cancel","","Cancel",route('subscribers.index')); ?>
</div> </form></div></div>
@endsection