@model ApplicationFormViewModel
@{
    ViewData["Title"] = "Bewerbung hinzufügen";
}

<section class="content-card">
    <div class="section-header">
        <h1>@Model.Heading</h1>
        <a class="link" asp-action="Index">Zurück zur Übersicht</a>
    </div>

    <form asp-action="Create" method="post">
        @Html.AntiForgeryToken()
        <div asp-validation-summary="ModelOnly" class="validation-summary"></div>

        <partial name="_ApplicationForm" />

        <div class="form-actions">
            <a class="btn btn-outline" asp-action="Index">Abbrechen</a>
            <button type="submit" class="btn btn-primary">@Model.SubmitText</button>
        </div>
    </form>
</section>

@section Scripts
{
    <partial name="_ValidationScriptsPartial" />
}
