Show button labels, make sign-out less prominent
This commit is contained in:
@@ -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 %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user