TaskA/resources/views/backend/user/add-user.blade.php
2024-06-18 15:28:01 +05:45

75 lines
4.1 KiB
PHP

@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