@model ProductDetailsModel.GiftCardModel @using Nop.Web.Models.Catalog; @if (Model.IsGiftCard) {
@Html.LabelFor(model => model.RecipientName, new { }, ":") @Html.TextBoxFor(model => model.RecipientName, new { @class = "recipient-name" })
@if (Model.GiftCardType == Nop.Core.Domain.Catalog.GiftCardType.Virtual) {
@Html.LabelFor(model => model.RecipientEmail, new { }, ":") @Html.TextBoxFor(model => model.RecipientEmail, new { @class = "recipient-email" })
}
@Html.LabelFor(model => model.SenderName, new { }, ":") @Html.TextBoxFor(model => model.SenderName, new { @class = "sender-name" })
@if (Model.GiftCardType == Nop.Core.Domain.Catalog.GiftCardType.Virtual) {
@Html.LabelFor(model => model.SenderEmail, new { }, ":") @Html.TextBoxFor(model => model.SenderEmail, new { @class = "sender-email" })
}
@Html.LabelFor(model => model.Message, new { }, ":") @Html.TextAreaFor(model => model.Message, new { @class = "message" })
}