@extends('admin_html.layouts.main')

@section('content')
<div class="container-fluid">
                <div class="row ">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-header d-flex align-items-center justify-content-between">
                                <h5 class="card-title mb-0"> <i class="fa fa-book"></i> &nbsp; Add New User </h5>
                                <div class="card-tools">
                                    <button type="button" class="btn btn-tool" data-card-widget="collapse"
                                        title="Collapse">
                                        <i class="fas fa-minus"></i>
                                    </button>
                                    <button type="button" class="btn btn-tool">
                                        <a href="./user-manager.html" class="btn btn-info btn-sm"><i
                                                class="mdi mdi-plus"></i> <i class="fa fa-arrow-left"></i> Back</a>
                                    </button>
                                </div>
                            </div>
                            <div class="card-body login-card-body mt-4">
                                <div class="pl-3 col-7">
                                    <form action="https://studyexpressbd.com/author/user/store" method="post">
                                        <input type="hidden" name="_token"
                                            value="4mkWgynxLA9jV3fXaAx4onfAl40otix94eEZdhSb" autocomplete="off">
                                        <div class="form-group row mb-3">
                                            <label class="col-sm-4 col-form-label">User Name <code>*</code>
                                            </label>
                                            <div class="col-sm-8">
                                                <div class="input-group">
                                                    <input type="text" name="full_name" id="full_name" value=" "
                                                        class="form-control " placeholder="Your Name">
                                                    <div class="input-group-append d-flex">
                                                        <div class="input-group-text">
                                                            <span class="fas fa-user"></span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group row mb-3">
                                            <label class="col-sm-4 col-form-label">E-mail <code>*</code>
                                            </label>
                                            <div class="col-sm-8">
                                                <div class="input-group ">
                                                    <input type="email" id="email" name="email" value=" "
                                                        class="form-control " placeholder="Email">
                                                    <div class="input-group-append d-flex">
                                                        <div class="input-group-text">
                                                            <span class="fas fa-envelope"></span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group row mb-3">
                                            <label class="col-sm-4 col-form-label">Phone</label>
                                            <div class="col-sm-8">
                                                <div class="input-group ">
                                                    <input type="text" id="phone" name="phone" value=" "
                                                        class="form-control" placeholder="Phone">
                                                    <div class="input-group-append d-flex">
                                                        <div class="input-group-text">
                                                            <span class="fas fa-phone-alt"></span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group row mb-3">
                                            <label class="col-sm-4 col-form-label">Password <code>*</code>
                                            </label>
                                            <div class="col-sm-8">
                                                <div class="input-group ">
                                                    <input type="password" name="password" id="password"
                                                        class="form-control " placeholder="Password">
                                                    <div class="input-group-append d-flex">
                                                        <div class="input-group-text">
                                                            <span class="fas fa-lock"></span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group row mb-3">
                                            <label class="col-sm-4 col-form-label">Confirm Password <code>*</code>
                                            </label>
                                            <div class="col-sm-8">
                                                <div class="input-group ">
                                                    <input id="password_confirmation" class="form-control "
                                                        type="password" placeholder="Confirm Password"
                                                        name="password_confirmation">
                                                    <div class="input-group-append d-flex">
                                                        <div class="input-group-text">
                                                            <span class="fas fa-lock"></span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group row mb-3">
                                            <label class="col-sm-4 col-form-label">User Group <code>*</code>
                                            </label>
                                            <div class="col-sm-8">
                                                <div class="input-group ">
                                                    <select id="role" name="role" class="form-control ">
                                                        <option value=""> Select User Group </option>
                                                        <option data-role="admin" value="1"> Administrator</option>
                                                        <option data-role="subscriber" value="2"> Subscriber</option>
                                                        <option data-role="editor" value="3"> Editor</option>
                                                        <option data-role="writer" value="4"> Writer</option>
                                                        <option data-role="manager" value="5"> Manager</option>
                                                    </select>
                                                    <div class="input-group-append d-flex">
                                                        <div class="input-group-text">
                                                            <span class="fas fa-user-circle"></span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group row mb-3">
                                            <label class="col-sm-4 col-form-label">Create and Activate</label>
                                            <div class="col-sm-8" style="text-align:left">
                                                <input style="width: 5%" id="create_activate" value="true"
                                                    class="form-control" type="checkbox" name="create_activate">
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                            <div class="card-footer">
                                <div class="offset-md-3 col-sm-9">
                                    <button type="submit" name="submit" class="btn btn-success">Save </button>
                                    &nbsp;&nbsp;
                                    <button name="submit" value="save-n-exit" type="submit" class="btn btn-primary">Save
                                        &amp; Exit</button>
                                    &nbsp;&nbsp;
                                    <a href="#" class="btn btn-warning">Cancel</a>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
@endsection('content')
