app/views/user_groups/show.html.erb in enju_library-0.3.11 vs app/views/user_groups/show.html.erb in enju_library-0.4.0.beta.1
- old
+ new
@@ -8,11 +8,11 @@
<%= @user_group.name -%>
</p>
<p>
<strong><%= t('activerecord.attributes.user_group.display_name') -%>:</strong>
- <%= @user_group.display_name.localize -%>
+ <%= @user_group.display_name -%>
</p>
<p>
<strong><%= t('activerecord.attributes.user_group.valid_period_for_new_user') -%>:</strong>
<%= @user_group.valid_period_for_new_user %>
@@ -38,10 +38,10 @@
<strong><%= t('activerecord.models.checkout_type') -%></strong>
</p>
<ul>
<%- @user_group.user_group_has_checkout_types.each do |available_checkout_type| -%>
<li>
- <%= link_to available_checkout_type.checkout_type.display_name.localize, available_checkout_type.checkout_type -%>
+ <%= link_to available_checkout_type.checkout_type.display_name, available_checkout_type.checkout_type -%>
(<%= link_to t('page.number_of_days', count: available_checkout_type.checkout_period), edit_user_group_user_group_has_checkout_type_path(@user_group, available_checkout_type) -%>)
</li>
<%- end -%>
</ul>
<% end %>