@page @using BantFlags.Data @model BantFlags.UploadModel @{ ViewData["Title"] = "Upload"; Layout = "~/Pages/Shared/_Layout.cshtml"; }

Upload

@Model.Message

Add a Flag

@Html.CheckBoxFor(model => model.ShouldGloss)Apply Gloss?

Manage Existing Flags



Commit Changes



Pending Changes



@if (Model.staging.AddedFlags.Any()) {

New Flags

@foreach (FormFlag flag in Model.staging.AddedFlags) {

@flag.Name
}
} @if (Model.staging.DeletedFlags.Any()) {

Deleted Flags

@foreach (FormFlag flag in Model.staging.DeletedFlags) {

@flag.Name
}
} @if (Model.staging.RenamedFlags.Any()) {

Renamed Flags

@foreach (RenameFlag flag in Model.staging.RenamedFlags) {

@flag.NewName
}
}
@section Head { } @section Scripts { @* Place flag image inside the