app/views/users/new.html.erb in enju_leaf-1.1.0.rc9 vs app/views/users/new.html.erb in enju_leaf-1.1.0.rc10
- old
+ new
@@ -26,10 +26,10 @@
<%= f.email_field :email_confirmation, :class => 'resource_email' -%>
</div>
<div class="field">
<%= f.label :user_group_id -%>
- <%= f.select(:user_group_id, @user_groups.collect{|u| [u.name, u.id]}) -%>
+ <%= f.select(:user_group_id, @user_groups.collect{|u| [u.display_name.localize, u.id]}) -%>
</div>
<%- if current_user.has_role?('Librarian') -%>
<div class="field">
<%= f.label t('activerecord.models.library') -%>