master_template/resources/views/crud/generated/economies/edit.blade.php
2024-06-15 22:23:54 +05:45

25 lines
1.2 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 Economies') }}</h2>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('economies.index')); ?>
</div>
<div class='card-body'>
<form action="{{ route('economies.update', [$data->economy_id]) }}" id="updateCustomForm" method="POST">
@csrf <input type=hidden name='economy_id' value='{{ $data->economy_id }}' />
<div class="row">
<div class="col-lg-6">{{ createText('title', 'title', 'Title', '', $data->title) }}
</div>
<div class="col-lg-6">
{{ createText('ecomomy_nepali_name', 'ecomomy_nepali_name', 'Ecomomy Nepali Name', '', $data->ecomomy_nepali_name) }}
</div>
<div class="col-md-12"><?php createButton('btn-primary btn-update', '', 'Submit'); ?>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('economies.index')); ?>
</div>
</form>
</div>
</div>
@endsection