@model SendPrivateMessageModel @using SmartStore.Web; @using SmartStore.Web.Models.PrivateMessages; @{ Layout = "~/Views/Shared/_ColumnsOne.cshtml"; Html.AddTitleParts(T("PageTitle.SendPM").Text); } @using (Html.BeginForm()) {
| @T("PrivateMessages.Send.To") | @if (Model.AllowViewingToProfile) { @(Model.CustomerToName) } else { @Model.CustomerToName } |
| @T("PrivateMessages.Send.Subject") | @Html.TextBoxFor(model => model.Subject, new { @class = "pm-title-text" }) @Html.ValidationMessageFor(model => model.Subject) |
| @T("PrivateMessages.Send.Message") | @Html.BBCodeEditor("Message") @Html.TextAreaFor(model => model.Message, new { @class = "bb-editor-text", TextMode = "MultiLine" }) @Html.ValidationMessageFor(model => model.Message) |