@model NewsSettingsModel @using Telerik.Web.Mvc.UI; @{ //page title ViewBag.Title = T("Admin.Configuration.Settings.News").Text; } @using (Html.BeginForm()) {
| @Html.SmartLabelFor(model => model.Enabled) | @Html.SettingEditorFor(model => model.Enabled) @Html.ValidationMessageFor(model => model.Enabled) |
| @Html.SmartLabelFor(model => model.AllowNotRegisteredUsersToLeaveComments) | @Html.SettingEditorFor(model => model.AllowNotRegisteredUsersToLeaveComments) @Html.ValidationMessageFor(model => model.AllowNotRegisteredUsersToLeaveComments) |
| @Html.SmartLabelFor(model => model.NotifyAboutNewNewsComments) | @Html.SettingEditorFor(model => model.NotifyAboutNewNewsComments) @Html.ValidationMessageFor(model => model.NotifyAboutNewNewsComments) |
| @Html.SmartLabelFor(model => model.ShowNewsOnMainPage) | @Html.SettingEditorFor(model => model.ShowNewsOnMainPage) @Html.ValidationMessageFor(model => model.ShowNewsOnMainPage) |
| @Html.SmartLabelFor(model => model.MainPageNewsCount) | @Html.SettingEditorFor(model => model.MainPageNewsCount) @Html.ValidationMessageFor(model => model.MainPageNewsCount) |
| @Html.SmartLabelFor(model => model.NewsArchivePageSize) | @Html.SettingEditorFor(model => model.NewsArchivePageSize) @Html.ValidationMessageFor(model => model.NewsArchivePageSize) |
| @Html.SmartLabelFor(model => model.MaxAgeInDays) | @Html.SettingEditorFor(model => model.MaxAgeInDays) @Html.ValidationMessageFor(model => model.MaxAgeInDays) |
| @Html.SmartLabelFor(model => model.ShowHeaderRssUrl) | @Html.SettingEditorFor(model => model.ShowHeaderRssUrl) @Html.ValidationMessageFor(model => model.ShowHeaderRssUrl) |