@model SendPrivateMessageModel @using SmartStore.Web; @using SmartStore.Web.Models.PrivateMessages; @{ Layout = "~/Views/Shared/_Root.cshtml"; Html.AddTitleParts(T("PageTitle.SendPM").Text); } @using (Html.BeginForm()) {

@T("PrivateMessages.Send.PostMessage")

@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.ToCustomerId) @Html.HiddenFor(model => model.ReplyToMessageId)
@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.TextAreaFor(model => model.Message) @Html.ValidationMessageFor(model => model.Message)
}