@extends('layouts.admin')

@section('content')
<div class="col-md-9">
    <div class="card shadow-sm">
        <div class="card-header bg-primary text-white">
            <h4 class="mb-0">Create New Permission</h4>
        </div>
        <div class="card-body">
            <form action="{{ route('admin.permission.store.new') }}" method="POST">
                @csrf
                <div class="mb-3">
                    <label class="form-label">Permission Name</label>
                    <input type="text" name="name" class="form-control" placeholder="Enter permission name" required>
                </div>
                <button type="submit" class="btn btn-success"><i class="fas fa-save"></i> Save Permission</button>
                <a href="{{ route('admin.permissions.index') }}" class="btn btn-secondary">Cancel</a>
            </form>
        </div>
    </div>
</div>
@endsection
