app/views/chaltron/users/index.html.erb in chaltron-2.0.2 vs app/views/chaltron/users/index.html.erb in chaltron-2.0.3
- old
+ new
@@ -4,11 +4,11 @@
<div class='col-md-3'>
<%= render partial: 'side_filters', locals: { filters: @filters } %>
<hr>
<% if ldap_enabled? and !Chaltron.ldap_allow_all %>
- <div class='dropdown pull-right'>
+ <div class='dropdown float-right'>
<%= content_tag :button, type: 'button', class: 'btn btn-primary dropdown-toggle',
data: {toggle: 'dropdown'}, aria: {expanded: false, haspopup: true}, id: 'new_user_button' do %>
<%= icon :fas, :plus, t('.new_user') %>
<% end %>
@@ -16,10 +16,10 @@
<%= link_to t('.new_ldap_user'), ldap_search_path, class: 'dropdown-item' %>
<%= link_to t('.new_local_user'), new_user_path, class: 'dropdown-item' %>
<% end %>
</div>
<% else %>
- <%= link_to new_user_path, class: 'btn btn-primary pull-right' do %>
+ <%= link_to new_user_path, class: 'btn btn-primary float-right' do %>
<%= icon :fas, :plus, t('.new_local_user') %>
<% end %>
<% end %>
</div>