Show button labels, make sign-out less prominent

This commit is contained in:
Jason Zimdars
2025-04-26 19:13:39 -05:00
parent aff5abb92d
commit 9e553e0a32
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
</div>
<button type="submit" id="log_in" class="btn btn--reversed center">
<%= icon_tag "check" %>
<span class="for-screen-reader">Sign in</span>
<span>Save changes</span>
</button>
<%= link_to "Cancel and go back", user_path(@user), data: { form_target: "cancel", turbo_frame: "_top" }, hidden: true %>
+1 -1
View File
@@ -32,7 +32,7 @@
</div>
<button type="submit" id="log_in" class="btn btn--reversed center">
<%= icon_tag "arrow-right" %>
<span class="for-screen-reader">Sign in</span>
<span>Create account</span>
</button>
<% end %>
</div>
+2 -2
View File
@@ -44,10 +44,10 @@
<%= render "users/transfer", user: @user %>
</div>
<div class="panel shadow center margin-block-double">
<div class="panel borderless center margin-block-double">
<%= button_to session_path, method: :delete, class: "btn center txt-medium" do %>
<%= icon_tag "logout" %>
<span class="for-screen-reader">Sign out</span>
<span>Sign out</span>
<% end %>
</div>
<% end %>