Skip to content

Commit

Permalink
Add change links to user details in show.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
ekumachidi committed Mar 10, 2024
1 parent 9ea473a commit ff2cbc3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/views/schools/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<dd class="govuk-summary-list__value">
<%= @user_invite.firstname %>
</dd>
<dd>
<%= link_to Change, new_schools_user_path(user_invite: @user_invite) %>
</dd>
</div>

<div class="phone-number govuk-summary-list__row">
Expand All @@ -25,6 +28,9 @@
<dd class="govuk-summary-list__value">
<%= @user_invite.lastname %>
</dd>
<dd>
<%= link_to Change, new_schools_user_path(user_invite: @user_invite) %>
</dd>
</div>

<div class="email-address govuk-summary-list__row">
Expand All @@ -34,6 +40,9 @@
<dd class="govuk-summary-list__value">
<%= @user_invite.email %>
</dd>
<dd>
<%= link_to 'Change', new_schools_user_path(user_invite: @user_invite) %>
</dd>
</div>
<%= hidden_field_tag :confirmed, true %>
</dl>
Expand Down

0 comments on commit ff2cbc3

Please sign in to comment.