@model ResourcesManager.Models.Resource

@{
    ViewBag.Title = "Törlés";
}

<h2>Erőforrás</h2>

<div>
    <h4>Erőforrás  törlése</h4>
    <hr />
    <dl class="dl-horizontal">        
        <dt>
            @Html.DisplayNameFor(model => model.ImagePath)
        </dt>
        <dd>
            <img src="@Url.Action("GetImage", "Resources", new { path = Model.ImagePath } )" class="img-responsive" />
        </dd>

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

        <dt>
            @Html.DisplayNameFor(model => model.AssetTag)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.AssetTag)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.TimeLimit)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.TimeLimit)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Description)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Description)
        </dd>
    </dl>
    <h3>Biztos vagy benne hogy törölni szeretnéd?</h3>
    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
        <div class="form-actions no-color">
            <input type="submit" value="Törlés" class="btn btn-danger" />
            <a href="javascript:void(0);" onclick="history.go(-1);" class="btn btn-default">Vissza</a>
        </div>
    }
</div>
