@using FHT.Utilities @using FHT.Core.CommonTypes @model FHT.Management.Interfaces.InputModels.AppVersionInputModel @Styles.Render("~/Content/appversion/createOrUpdate") @using (Html.BeginForm("CreateOrUpdate", "AppVersion", null, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.ValidationSummary(false, "", new { @class = "text-danger" }) @Html.HiddenFor(a=>a.VersionId)
@Html.RequiredLabelFor(m => m.AppName, new { @class = "col-md-2 control-label" })
@Html.EditorFor(m => m.AppName) @Html.ValidationMessageFor(m => m.AppName)
@Html.RequiredLabelFor(m => m.Version, new { @class = "col-md-2 control-label" })
@Html.EditorFor(m => m.Version) @Html.ValidationMessageFor(m => m.Version)
@Html.RequiredLabelFor(m => m.VersionNum, new { @class = "col-md-2 control-label" })
@Html.EditorFor(m => m.VersionNum, new { @class = "form-control col-md-2 control-label" }) @Html.ValidationMessageFor(m => m.VersionNum)
@Html.RequiredLabelFor(m => m.Href, new { @class = "col-md-2 control-label" })
@Html.TextBoxFor(m => m.Href, new { @class = "image-uploader hidden", data_isnotimagefile= true })
@Html.RequiredLabelFor(m => m.Description, new { @class = "col-md-2 control-label" })
@Html.TextAreaFor(m => m.Description,5,100, new { @class = "form-control" }) @Html.ValidationMessageFor(m => m.Description)
} @section scripts { @Scripts.Render("~/bundles/appCreateOrUpdate") }