Skip to content

Commit

Permalink
#73 - fixed problem with "Add new" button on addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielŻuławski committed Aug 11, 2021
1 parent afc7ebc commit 79d72dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Web/Grand.Web/Views/Account/Addresses.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
}
<div class="page account-page address-list-page pl-lg-3 pt-lg-0 pt-3">
@Html.AntiForgeryToken()
<button class="btn btn-info add-address-button float-sm-right mt-2" onclick="location.href='@Url.RouteUrl("CustomerAddressAdd")'">
<h1 class="h2 generalTitle">@Loc["Account.CustomerAddresses"]</h1>
<button class="btn btn-info add-address-button my-2" onclick="location.href='@Url.RouteUrl("CustomerAddressAdd")'">
<b-icon icon="clipboard-plus"></b-icon> @Loc["Common.AddNew"]
</button>
<h1 class="h2 generalTitle">@Loc["Account.CustomerAddresses"]</h1>
@if (Model.Addresses.Any())
{
<div class="col-12" class="px-0">
<div class="col-12 px-0">
<div class="row address-list">
@for (int i = 0; i < Model.Addresses.Count; i++)
{
Expand Down

0 comments on commit 79d72dc

Please sign in to comment.