@using Humanizer @model WebfrontCore.ViewModels.ActionInfo @{ Layout = null; } @if (Model.Inputs.Any(input => input.Type != "hidden")) {
}
@foreach (var input in Model.Inputs) { var inputType = input.Type ?? "text"; var value = input.Value ?? ""; if (input.Type != "hidden") {
@input.Label
@if (inputType == "select") { } else if (inputType == "checkbox") {
} else if (inputType == "textarea") { } else { }
} else { } } @if (Model.Inputs.Any(input => input.Type != "hidden")) {
}
@ViewBag.Localization["WEBFRONT_ACTION_MODAL_BUTTON_CLOSE"]