@model FHT.Agency.UI.InputModels.Notification.NotificationInputModel @using FHT.Agency.CommonTypes @using FHT.Utilities @{ ViewBag.Title = "代理商平台消息推送"; Layout = "~/Views/Shared/_Layout.cshtml"; } @section styles { @Styles.Render("~/Content/select2") } @{ var types = EnumHelpers.Enum2Dictionary(typeof(AgencyNotificationType)); } @using (Ajax.BeginForm("Send", "Notification", new AjaxOptions { HttpMethod = "Post", OnSuccess = "agencyGlobal.OnSendMessageSuccess" }, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken()
@Html.RequiredLabelFor(l => l.Title, new { @class = "col-md-2 control-label" })
@Html.TextBoxFor(m => m.Title, new { @class = "form-control", style = "width:100%" })
@Html.TextAreaFor(m => m.Content, new { @class = "form-control", style = "width:550px !important;height:130px !important;" })
} @section scripts{ @Scripts.Render("~/bundles/views/notification/send") }