41 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2024-04-07 13:13:58 +05:45
@extends('layouts.app')
@section('content')
2024-04-10 18:06:18 +05:45
<div class="page-content">
<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' => 'Nationality'])
2024-04-10 18:06:18 +05:45
<!-- end page title -->
2024-04-11 16:44:09 +05:45
2024-04-10 18:06:18 +05:45
<div class='card'>
<div class='card-body'>
2024-04-11 16:44:09 +05:45
<form
action="{{ $editable ? route('nationalities.update', [$data->nationality_id]) : route('nationalities.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='nationality_id' value='{{ $editable ? $data->nationality_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('nationalities.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-11 16:44:09 +05:45
@endsection