Skip to content

Commit a9c48ad

Browse files
committed
make buttons the smae..!
1 parent 681e67a commit a9c48ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/admin/users/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146

147147
<%= link_to 'Edit', edit_admin_user_path(@user) %> |
148148
<%= link_to 'Back', admin_users_path %> |
149-
<%= button_to (@user.locked? ? 'Unlock' : 'Lock'), admin_user_lock_path(@user), method: :patch, class: 'btn btn-danger' %> |
149+
<%= button_to (@user.locked? ? 'Unlock' : 'Lock'), admin_user_lock_path(@user), method: :patch, class: 'btn btn-danger btn-sm' %> |
150150
<%= link_to 'Destroy', admin_user_path(@user), method: :delete, data: { confirm: 'Are you sure you want to delete this user?' } %>
151151

152152
<!-- has to be at the end to let JQuery and Heatmap work -->

app/views/layouts/analytics.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<% end %>
3737
<p>
3838
<% if @current_user %>
39-
<%= button_to (@case.public? ? 'Make Private' : 'Make public'), analytics_case_visibility_path(@case), method: :patch, class: 'btn btn-danger' %>
39+
<%= button_to (@case.public? ? 'Make Private' : 'Make public'), analytics_case_visibility_path(@case), method: :patch, class: 'btn btn-danger btn-sm' %>
4040
<% end %>
4141
</p>
4242
</header>

0 commit comments

Comments
 (0)