65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
|
@model MvcMusicStore.Models.Album
|
||
|
|
||
|
@{
|
||
|
ViewBag.Title = "Delete";
|
||
|
}
|
||
|
|
||
|
<h2>Delete</h2>
|
||
|
|
||
|
<h3>Are you sure you want to delete this?</h3>
|
||
|
<div>
|
||
|
<h4>Album</h4>
|
||
|
<hr />
|
||
|
<dl class="dl-horizontal">
|
||
|
<dt>
|
||
|
@Html.DisplayNameFor(model => model.Artist.Name)
|
||
|
</dt>
|
||
|
|
||
|
<dd>
|
||
|
@Html.DisplayFor(model => model.Artist.Name)
|
||
|
</dd>
|
||
|
|
||
|
<dt>
|
||
|
@Html.DisplayNameFor(model => model.Genre.Name)
|
||
|
</dt>
|
||
|
|
||
|
<dd>
|
||
|
@Html.DisplayFor(model => model.Genre.Name)
|
||
|
</dd>
|
||
|
|
||
|
<dt>
|
||
|
@Html.DisplayNameFor(model => model.Title)
|
||
|
</dt>
|
||
|
|
||
|
<dd>
|
||
|
@Html.DisplayFor(model => model.Title)
|
||
|
</dd>
|
||
|
|
||
|
<dt>
|
||
|
@Html.DisplayNameFor(model => model.Price)
|
||
|
</dt>
|
||
|
|
||
|
<dd>
|
||
|
@Html.DisplayFor(model => model.Price)
|
||
|
</dd>
|
||
|
|
||
|
<dt>
|
||
|
@Html.DisplayNameFor(model => model.AlbumArtUrl)
|
||
|
</dt>
|
||
|
|
||
|
<dd>
|
||
|
@Html.DisplayFor(model => model.AlbumArtUrl)
|
||
|
</dd>
|
||
|
|
||
|
</dl>
|
||
|
|
||
|
@using (Html.BeginForm()) {
|
||
|
@Html.AntiForgeryToken()
|
||
|
|
||
|
<div class="form-actions no-color">
|
||
|
<input type="submit" value="Delete" class="btn btn-default" /> |
|
||
|
@Html.ActionLink("Back to List", "Index")
|
||
|
</div>
|
||
|
}
|
||
|
</div>
|