|
|
|
|
@ -112,6 +112,12 @@
|
|
|
|
|
row.with_action |
|
|
|
|
end |
|
|
|
|
end %> |
|
|
|
|
|
|
|
|
|
<%= summary_list.with_row do |row| |
|
|
|
|
row.with_key { "Status" } |
|
|
|
|
row.with_value { status_tag(@user.active? ? :active : :deactivated) } |
|
|
|
|
row.with_action |
|
|
|
|
end %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<div class="govuk-button-group"> |
|
|
|
|
@ -123,7 +129,7 @@
|
|
|
|
|
<% end %> |
|
|
|
|
<% else %> |
|
|
|
|
<span class="app-!-colour-muted govuk-!-margin-right-2"> |
|
|
|
|
This user has been deactivated. <%= govuk_button_link_to "Reactivate user", reactivate_user_path(@user) %> |
|
|
|
|
<%= govuk_button_link_to "Reactivate user", reactivate_user_path(@user) %> |
|
|
|
|
</span> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
|