ActionLink Improvements

Adjustment to ActionLink component to support custom button classes.  Adjustment of all button styles inside of the project to swap to either btn-danger for delete operations or btn-secondary for cancel operations for consistency.
This commit is contained in:
Mitchel Sellers
2019-05-17 23:55:55 -05:00
parent 1e5df43e84
commit f8a048e5ac
10 changed files with 22 additions and 11 deletions

View File

@ -25,7 +25,7 @@ else
{
<tr>
<td><ActionLink Action="Edit" Parameters="@($"id=" + p.PageId.ToString())" /></td>
<td><ActionLink Action="Delete" Parameters="@($"id=" + p.PageId.ToString())" /></td>
<td><ActionLink Action="Delete" Parameters="@($"id=" + p.PageId.ToString())" ButtonClass="btn-danger" /></td>
<td>@p.Path</td>
<td>@p.Name</td>
</tr>