<% if user_signed_in? %>

<%= link_to t_action(:new, ReadingGroup), new_reading_group_path, class: 'btn btn-primary' %>

<%else%>

<%= t('unauthenticated', action: t_action(:create, ReadingGroup)) %>

<% end %> <%= render partial: 'shared/reading_groups_list', locals: {reading_groups: @reading_groups} %>