Skip to content

Commit

Permalink
Add navigation to edit button. (#1128)
Browse files Browse the repository at this point in the history
* Add navigation to edit button.

* Remove button type from a tag.
  • Loading branch information
cmaddox5 authored Feb 26, 2025
1 parent 0adb9f8 commit 9e6a267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/arrow_web/controllers/disruption_v2_html/_table.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<% {start_date, end_date} = get_dates(disruption) %>
<tr>
<td>
<.button class="btn-link btn-sm" type="button">
<a href={~p"/disruptionsv2/#{disruption.id}/edit"} class="btn-link btn-sm">
<.icon name="hero-pencil-square-solid" />
</.button>
</a>
</td>

<td>
Expand Down

0 comments on commit 9e6a267

Please sign in to comment.