40 lines
1.2 KiB
PHP
Raw Normal View History

2024-04-07 13:13:58 +05:45
@extends('layouts.app')
@section('content')
2024-04-11 16:44:09 +05:45
\<div class="page-content">
2024-04-10 18:06:18 +05:45
<div class="container-fluid">
2024-04-05 11:07:15 +05:45
2024-04-10 18:06:18 +05:45
<!-- start page title -->
2024-04-11 16:44:09 +05:45
@include('layouts.partials.breadcrumb', ['title' => 'Gender'])
2024-04-10 18:06:18 +05:45
<!-- end page title -->
<div class='card'>
<div class='card-body'>
2024-04-11 16:44:09 +05:45
<form action="{{ $editable ? route('genders.update', [$data->gender_id]) : route('genders.store') }}"
2024-04-10 18:06:18 +05:45
id="updateCustomForm" method="POST">
@csrf
2024-04-11 16:44:09 +05:45
<input type=hidden name='gender_id' value='{{ $editable ? $data->gender_id : '' }}' />
2024-04-10 18:06:18 +05:45
<div class="row">
2024-04-11 16:44:09 +05:45
<div class="col-lg-12">
2024-04-10 18:06:18 +05:45
{{ createText('title', 'title', 'Title', '', $editable ? $data->title : '') }}
</div>
<div class="col-lg-12 pb-2">
{{ createPlainTextArea('remarks', '', 'Remarks', $editable ? $data->remarks : '') }}
</div>
<div class="col-md-12 mt-2">
<?php createButton('btn-primary btn-update', '', 'Submit'); ?>
2024-04-11 16:44:09 +05:45
<?php createButton('btn-danger btn-cancel', '', 'Cancel', route('genders.index')); ?>
2024-04-10 18:06:18 +05:45
</div>
2024-04-11 16:44:09 +05:45
</div>
2024-04-10 18:06:18 +05:45
</form>
</div>
</div>
2024-04-07 13:13:58 +05:45
</div>
</div>
@endsection