app/views/users/new.html.erb in enju_leaf-1.1.0.rc7 vs app/views/users/new.html.erb in enju_leaf-1.1.0.rc8
- old
+ new
@@ -12,23 +12,23 @@
</h2>
<%= f.hidden_field :agent_id -%>
<%- end -%>
<div class="field">
- <%= f.label :username -%></label>
+ <%= f.label :username -%>
<%= f.text_field :username, :class => 'resource_user' -%>
</div>
<div class="field">
- <%= f.label :email -%></label>
+ <%= f.label :email -%>
<%= f.email_field :email, :class => 'resource_email' -%>
</div>
<div class="field">
- <%= f.label :email_confirmation -%></label>
+ <%= f.label :email_confirmation -%>
<%= f.email_field :email_confirmation, :class => 'resource_email' -%>
</div>
<div class="field">
- <label for="user_group"><%= t('activerecord.models.user_group') -%></label>
+ <%= f.label :user_group_id -%>
<%= f.select(:user_group_id, @user_groups.collect{|u| [u.name, u.id]}) -%>
</div>
<%- if current_user.has_role?('Librarian') -%>
<div class="field">