app/views/chaltron/users/index.html.erb in chaltron-0.1.0 vs app/views/chaltron/users/index.html.erb in chaltron-0.1.1
- old
+ new
@@ -6,11 +6,10 @@
<hr>
<div class='btn-group pull-right'>
<%= content_tag :button, type: 'button', class: 'btn btn-primary dropdown-toggle',
data: {toggle: 'dropdown'}, aria: {expanded: false} do %>
- <%= icon('plus') %>
- <%= t('.new_user') %> <span class="caret"></span>
+ <%= icon :plus, t('.new_user') %> <span class="caret"></span>
<% end %>
<ul class='dropdown-menu' role='menu'>
<li><%= link_to t('.new_ldap_user'), ldap_search_url %></li>
<li><%= link_to t('.new_local_user'), new_user_url %></li>
</ul>