@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()) {
@if (Model.IsEdit) {

@T("Forum.EditTopic") - @Model.Subject

} else {

@T("Forum.NewTopic")

}
@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.ForumId)
@T("Forum.ForumName"): @Model.ForumName
@T("Forum.TopicTitle"):
@Html.TextBoxFor(model => model.Subject) @Html.ValidationMessageFor(model => model.Subject)
@Html.TextAreaFor(model => model.Text) @Html.ValidationMessageFor(model => model.Text)
@if (Model.IsCustomerAllowedToSetTopicPriority) {
@Html.DropDownList("TopicTypeId", new SelectList(@Model.TopicPriorities, "Value", "Text", @Model.TopicTypeId), new { data_native_menu = "false" })
} @if (Model.IsCustomerAllowedToSubscribe) {
@Html.EditorFor(model => model.Subscribed) @Html.LabelFor(model => model.Subscribed, @T("Forum.NotifyWhenSomeonePostsInThisTopic").Text)
}
}