@model EditForumTopicModel @using SmartStore.Core.Domain.Forums; @using SmartStore.Services.Forums; @using SmartStore.Services.Seo; @using SmartStore.Web; @using SmartStore.Web.Models.Boards; @using (Html.BeginForm()) {
| @T("Forum.ForumName") | @Model.ForumName |
| @T("Forum.TopicTitle") | @Html.TextBoxFor(model => model.Subject, new { @class = "forum-topic-title-text" }) @Html.ValidationMessageFor(model => model.Subject) |
| @if (Model.ForumEditor == EditorType.BBCodeEditor) { @Html.BBCodeEditor("Text"); } @Html.TextAreaFor(model => model.Text, new { @class = "forum-post-text", TextMode = "MultiLine" }) @Html.ValidationMessageFor(model => model.Text) | |
| @T("Forum.Priority") | @Html.DropDownList("TopicTypeId", new SelectList(@Model.TopicPriorities, "Value", "Text", @Model.TopicTypeId)) |
| @*@T("Forum.Options")*@ | @Html.CheckBox("Subscribed", @Model.Subscribed, new { style="vertical-align:top" }) @Html.Label("Subscribed", @T("Forum.NotifyWhenSomeonePostsInThisTopic").Text, new { style="display:inline-block" }) @*@Html.ControlGroupFor(model => model.Subscribed, editorType: InputEditorType.Checkbox, helpHint: T("Forum.NotifyWhenSomeonePostsInThisTopic").Text)*@ @*@Html.EditorFor(model => model.Subscribed) @Html.LabelFor(model => model.Subscribed, @T("Forum.NotifyWhenSomeonePostsInThisTopic").Text)*@ |
| @* *@ | |