New-OMIS/resources/views/crud/generated/users/create.blade.php

38 lines
1.4 KiB
PHP
Raw Permalink Normal View History

2024-04-07 07:28:58 +00:00
@extends('layouts.app')
2024-04-05 05:22:15 +00:00
@section('content')
2024-04-07 07:28:58 +00:00
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
<h4 class="mb-sm-0">Add User</h4>
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">Dashboards</a></li>
<li class="breadcrumb-item active">Add Usre</li>
</ol>
2024-04-05 05:22:15 +00:00
</div>
2024-04-07 07:28:58 +00:00
</div>
</div>
</div>
<!-- end page title -->
<form action="{{ route('users.store') }}" id="storeCustomForm" method="POST">
@csrf
<div class='card'>
<div class='card-body'>
<div class="row">
<div class="col-lg-12">{{ createText('name', 'name', 'Name') }}</div>
<div class="col-lg-6">{{ createText('username', 'username', 'Username') }}</div>
<div class="col-lg-6 pb-2">{{ createPassword('password', 'Password', '') }}</div>
<div class="col-lg-6">{{ createText('email', 'email', 'Email') }}</div>
<div class="col-lg-6">{{ createText('remember_token', 'remember_token', 'Remember Token') }}
</div>
2024-04-05 05:22:15 +00:00
</div>
2024-04-07 07:28:58 +00:00
</div>
</div>
<div class="col-md-12">
<?php createButton('btn-primary btn-store', '', 'Submit'); ?>
<?php createButton('btn-danger btn-cancel', '', 'Cancel', route('users.index')); ?>
</div>
</form>
@endsection