<layout name="admin" />

<div class="admin-page">
    <div class="page-header">
        <h1>{{ title }}</h1>
        <if condition="{{ subtitle }}">
            <p class="subtitle">{{ subtitle }}</p>
        </if>
    </div>

    <div class="form-container">
        <div class="card">
            <div class="card-body">
                {{ form }}
            </div>
        </div>
    </div>

    <div class="form-actions">
        <a href="/admin/{{ resource }}" class="btn btn-secondary">Cancel</a>
    </div>
</div>
