@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()) {
@Html.Action("ForumBreadcrumb", new { forumId = Model.ForumId, forumTopicId = Model.Id })

@if (Model.IsEdit) { @T("Forum.EditTopic") } else { @T("Forum.NewTopic") }

@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.ForumId) @if (Model.IsCustomerAllowedToSetTopicPriority) { } @if (Model.IsCustomerAllowedToSubscribe) { }
@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")*@
@* *@
}