Fix archives card on game edit to use card actions

dashboard
Pat Hartl 2023-01-07 18:29:38 -06:00
parent 260474aee8
commit dc951bcfaa
1 changed files with 7 additions and 13 deletions

View File

@ -66,19 +66,13 @@
<div class="card">
@if (Model.Archives != null && Model.Archives.Count > 0)
{
<div class="card-body">
<div class="row align-items-center">
<div class="col">
<h3 class="card-title mb-0">Archives</h3>
</div>
<div class="col-auto ms-auto">
<div class="d-flex">
<a asp-action="Add" asp-controller="Archives" asp-route-id="@Model.Id" class="btn btn-primary">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
Add
</a>
</div>
</div>
<div class="card-header">
<h3 class="card-title">Archives</h3>
<div class="card-actions">
<a asp-action="Add" asp-controller="Archives" asp-route-id="@Model.Id" class="btn btn-primary">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
Add
</a>
</div>
</div>