UX: Change the authorize button color to primary (#29666)
Primary is a more appropriate color here than "danger". Authorizing is important, but we usually use "danger" for destructive actions and nothing is being destroyed here.
This commit is contained in:
parent
c1916f7984
commit
6912a1e3ca
|
@ -28,7 +28,7 @@
|
|||
<%= hidden_field_tag 'push_url', @push_url %>
|
||||
<%= hidden_field_tag 'public_key', @public_key%>
|
||||
<%= hidden_field_tag 'scopes', @scopes%>
|
||||
<%= submit_tag t('user_api_key.authorize'), class: 'btn btn-danger' %>
|
||||
<%= submit_tag t('user_api_key.authorize'), class: 'btn btn-primary' %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
<%= hidden_field_tag 'application_name', @application_name %>
|
||||
<%= hidden_field_tag 'public_key', @public_key%>
|
||||
<%= hidden_field_tag('auth_redirect', @auth_redirect) %>
|
||||
<%= submit_tag t('user_api_key.authorize'), class: 'btn btn-danger' %>
|
||||
<%= submit_tag t('user_api_key.authorize'), class: 'btn btn-primary' %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue