@model MVC121.Areas.Administrator.Models.Post

@{
    ViewBag.Title = "جزئیات مطلب";
    Layout = "~/Areas/Administrator/Views/Shared/_Layout.cshtml";
}
<hr />

<img src="~/Areas/Administrator/img/writing_s.png" alt="category" />

<h2>جزئیات مطلب</h2>

<div>
    <h4>@Model.Name</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.PostCategory.Category)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.PostCategory.Category)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.PoetryWriter)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.PoetryWriter)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Name)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Name)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.SmallBody)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.SmallBody)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.FullBody)
        </dt>

        @{string strFullBody = Model.FullBody; }
        <dd style="font-family:IranNastaliq;font-size:xx-large">
            <textarea> @HtmlRemoval.UnHtml(strFullBody)</textarea>
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Keyword)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Keyword)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.PublishTime)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.PublishTime)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.IsActive)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.IsActive)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.IsCommentable)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.IsCommentable)
        </dd>

        <dt >
            <img src="~/Uploads/@Model.Image" width="121" height="121" />
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Image)
        </dd>

    </dl>
</div>
<p>
    @Html.ActionLink("ویرایش مطلب", "Edit", new { id = Model.ID }) |
    @Html.ActionLink("بازگشت به صفحه مدیریت مطالب", "Index")
</p>
