diff --git a/src/MusicStore/Areas/Admin/Views/StoreManager/Index.cshtml b/src/MusicStore/Areas/Admin/Views/StoreManager/Index.cshtml index 59a3f2798c..4a4f30ab1e 100644 --- a/src/MusicStore/Areas/Admin/Views/StoreManager/Index.cshtml +++ b/src/MusicStore/Areas/Admin/Views/StoreManager/Index.cshtml @@ -4,11 +4,11 @@ { if (input.Length <= length) { - @input + @input } else { - @input.Substring(0, length)... + @input.Substring(0, length)... } } @@ -40,25 +40,25 @@ @foreach (var item in Model) { - - - @Html.DisplayFor(modelItem => item.Genre.Name) - - - @Truncate(item.Artist.Name, 25) - - - @Truncate(item.Title, 25) - - - @Html.DisplayFor(modelItem => item.Price) - - - @Html.ActionLink("Edit", "Edit", new { id = item.AlbumId }) | - @Html.ActionLink("Details", "Details", new { id = item.AlbumId }) | - @Html.ActionLink("Delete", "RemoveAlbum", new { id = item.AlbumId }) - - + + + @Html.DisplayFor(modelItem => item.Genre.Name) + + + @Truncate(item.Artist.Name, 25) + + + @Truncate(item.Title, 25) + + + @Html.DisplayFor(modelItem => item.Price) + + + @Html.ActionLink("Edit", "Edit", new { id = item.AlbumId }) | + @Html.ActionLink("Details", "Details", new { id = item.AlbumId }) | + @Html.ActionLink("Delete", "RemoveAlbum", new { id = item.AlbumId }) + + } \ No newline at end of file diff --git a/src/MusicStore/Mocks/Readme.md b/src/MusicStore/Mocks/Readme.md deleted file mode 100644 index c8ef0bd928..0000000000 --- a/src/MusicStore/Mocks/Readme.md +++ /dev/null @@ -1 +0,0 @@ -# Mock code added only for testing purposes. Not to be used for production deployments. \ No newline at end of file diff --git a/src/MusicStore/Views/Account/SendCode.cshtml b/src/MusicStore/Views/Account/SendCode.cshtml index aa3395fa9d..1752f96d57 100644 --- a/src/MusicStore/Views/Account/SendCode.cshtml +++ b/src/MusicStore/Views/Account/SendCode.cshtml @@ -5,7 +5,8 @@

@ViewBag.Title.

-@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { +@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) +{ @Html.AntiForgeryToken() @Html.Hidden("rememberMe", @Model.RememberMe)

Send verification code

diff --git a/src/MusicStore/Views/Shared/Components/GenreMenu/Default.cshtml b/src/MusicStore/Views/Shared/Components/GenreMenu/Default.cshtml index 23d99215e5..cd9ed4491e 100644 --- a/src/MusicStore/Views/Shared/Components/GenreMenu/Default.cshtml +++ b/src/MusicStore/Views/Shared/Components/GenreMenu/Default.cshtml @@ -1,20 +1,19 @@ @model IEnumerable -