TaskA/resources/views/backend/user/add-user.blade.php

72 lines
3.9 KiB
PHP
Raw Normal View History

2024-06-16 08:11:32 +00:00
@extends('backend.layouts.app')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<!-- /.card -->
<div class="card">
<!-- /.card-header -->
<div class="card-header">
<h3 class="card-title">Add Users</h3>
</div>
<!-- /.card-body -->
<div class="card-body">
<form role="form" action="{{ url('/store-user') }}" method="post">
@csrf
<div class="form-group row">
<label for="inputUsername3" class="col-sm-2 col-form-label">Username</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputUsername3" name="name"
placeholder="Enter your username" required>
</div>
</div>
<div class="form-group row">
<label for="inputEmail3" class="col-sm-2 col-form-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="inputEmail3" name="email"
placeholder="Email" required>
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-sm-2 col-form-label">Password</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword3" name="password"
placeholder="Password" required>
</div>
</div>
<div class="form-group row">
<label for="role" class="col-sm-2 col-form-label">User Role</label>
<div class="col-sm-10">
<select class="form-control" name="role" id="exampleFormControlSelect1">
<option value="Admin">Admin</option>
<option value="Manager">Manager</option>
<option value="Customer">Customer</option>
</select>
</div>
</div>
<div class="form-group row">
<div class="col-sm-10 offset-sm-2">
<button type="submit" class="btn btn-info">Submit</button>
</div>
</div>
</form>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<!-- /.content -->
</div>
@endsection