<%= ReadingGroup.human_attribute_name('description') %> <%= @reading_group.description %>
<%= 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 %>