<%= ReadingGroup.human_attribute_name('description') %> <%= @reading_group.description %>


<%= Reading.model_name.human(count: 2) %>

<% if reading_groups_owner? @reading_group.id %> <%= link_to t_action(:new, Reading), new_reading_group_reading_path(@reading_group,), class: 'btn btn-primary' %> <% end %> <% reading_group_readings = @reading_group.readings %> <% if reading_group_readings.size == 0 %> <%= render partial: 'no_readings' %> <% else %> <%= render partial: 'reading', collection: reading_group_readings, as: :reading %> <% end %>
<%= Reading.human_attribute_name('label') %> <%= Reading.human_attribute_name('grade') %> <%= Reading.human_attribute_name('color') %>

<% if reading_groups_owner? @reading_group.id %> <%= link_to t('destroy'), reading_group_path(@reading_group.id), method: :delete, data: { confirm: t('sure_destroy', model: ReadingGroup.model_name.human) }, class: 'btn btn-danger' %> <% end %>