@model EditForumTopicModel @using Nop.Core.Domain.Forums; @using Nop.Web.Extensions; @using Nop.Web.Models.Boards; @Html.Action("ForumBreadcrumb", new { forumId = Model.ForumId, forumTopicId = Model.Id })
@if (Model.IsEdit) {

@T("Forum.EditTopic")

} else {

@T("Forum.NewTopic")

}
@using (Html.BeginForm()) {
@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.ForumId)
@Model.ForumName
@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)
@if (Model.IsCustomerAllowedToSetTopicPriority) {
@Html.DropDownList("TopicTypeId", new SelectList(Model.TopicPriorities, "Value", "Text", Model.TopicTypeId))
} @if (Model.IsCustomerAllowedToSubscribe) {
@Html.EditorFor(model => model.Subscribed) @T("Forum.NotifyWhenSomeonePostsInThisTopic")
}
}