New-OMIS/Modules/Admin/resources/views/genders/edit.blade.php

40 lines
1.2 KiB
PHP
Raw Normal View History

2024-04-07 07:28:58 +00:00
@extends('layouts.app')
@section('content')
2024-04-11 10:59:09 +00:00
\<div class="page-content">
2024-04-10 12:21:18 +00:00
<div class="container-fluid">
2024-04-05 05:22:15 +00:00
2024-04-10 12:21:18 +00:00
<!-- start page title -->
2024-04-11 10:59:09 +00:00
@include('layouts.partials.breadcrumb', ['title' => 'Gender'])
2024-04-10 12:21:18 +00:00
<!-- end page title -->
<div class='card'>
<div class='card-body'>
2024-04-11 10:59:09 +00:00
<form action="{{ $editable ? route('genders.update', [$data->gender_id]) : route('genders.store') }}"
2024-04-10 12:21:18 +00:00
id="updateCustomForm" method="POST">
@csrf
2024-04-11 10:59:09 +00:00
<input type=hidden name='gender_id' value='{{ $editable ? $data->gender_id : '' }}' />
2024-04-10 12:21:18 +00:00
<div class="row">
2024-04-11 10:59:09 +00:00
<div class="col-lg-12">
2024-04-10 12:21:18 +00:00
{{ 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 10:59:09 +00:00
<?php createButton('btn-danger btn-cancel', '', 'Cancel', route('genders.index')); ?>
2024-04-10 12:21:18 +00:00
</div>
2024-04-11 10:59:09 +00:00
</div>
2024-04-10 12:21:18 +00:00
</form>
</div>
</div>
2024-04-07 07:28:58 +00:00
</div>
</div>
@endsection