@model Yavsc.Server.Models.EMailing.MailingTemplate

@{
    ViewData["Title"] = @SR["Details"];
}
@section scripts { 
    <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
}

<h2>@SR["Details"]</h2>

<div>
    <h4>MailingTemplate</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.Body)
        </dt>
        <dd>
            <code><pre class="prettyprint">@Model.Body</pre></code>
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.DateCreated)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.DateCreated)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.DateModified)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.DateModified)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.ReplyToAddress)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.ReplyToAddress)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Topic)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Topic)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.ToSend)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.ToSend)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.UserCreated)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.UserCreated)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.UserModified)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.UserModified)
        </dd>
    </dl>
</div>
<p>
    <a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
    <a asp-action="Index">@SR["Back to List"]</a>
</p>
