<% if user_signed_in? %>

<%= link_to t_action(:create, Project), new_project_path, class: 'btn btn-primary' %>

<%else%>

<%= t('unauthenticated', action: t_action(:create, Project, count: 2).downcase) %>

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