Skip to content

Commit 933e372

Browse files
committed
added 'cancel' button for the edit profile tab (redirects to current user profile)
1 parent 963c090 commit 933e372

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/views/users/edit_profile.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070

7171

7272
<%= f.submit 'Save', class: 'button is-filled' %>
73+
<%= link_to 'Cancel', users_me_path, class: 'button is-muted is-outlined', role: 'button' %>
7374
<% end %>
7475

7576
<% if SiteSetting['AllowContentTransfer'] && current_user.se_acct_id.nil? %>

0 commit comments

Comments
 (0)