@extends('layouts.master')
@section('content')
<div class="card">
    <div class="card-header card-custom-bg d-flex flex-row align-items-center justify-content-between">
        <h5>Create Role</h5>
        <a href="{{ route('roles.index') }}" class="btn btn-sm btn-primary">Role List</a>
    </div>
    <div class="card-body">
        <form action="{{ url('roles') }}" method="POST">
            @csrf
            <div class="d-flex flex-column align-items-center">
                <div class="mb-3 col-md-5">
                    <label for="role_name">Role Name</label>
                    <input type="text" name="name" class="form-control" placeholder="Enter role name">
                </div>

                <div class="mb-3 col-md-5 d-flex flex-column align-items-end">
                    <button class="btn btn-submit">Submit</button>
                </div>
            </div>
        </form>
    </div>
</div>
@stop
