@using Humanizer @using Data.Models @model Data.Models.EFPenalty.PenaltyType @{ var loc = Utilities.CurrentLocalization.LocalizationIndex; }

@ViewBag.Title

@await Component.InvokeAsync("PenaltyList", new WebfrontCore.ViewModels.PenaltyFilterInfo { Offset = 0, Count = 30, ShowOnly = Model, IgnoreAutomated = ViewBag.HideAutomatedPenalties, })
@loc["WEBFRONT_PENALTY_TEMPLATE_NAME"] @loc["WEBFRONT_PENALTY_TEMPLATE_TYPE"] @loc["WEBFRONT_PENALTY_TEMPLATE_OFFENSE"] @loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"] @loc["WEBFRONT_PENALTY_TEMPLATE_TIME"]
@if (ViewBag.HideAutomatedPenalties) { } else { }
@loc["WEBFRONT_PENALTY_TEMPLATE_SHOWONLY"].Titleize()
@section scripts { }