<% if can_edit_project(project) or can_archive_project(project) %>
<% project_form = nil %>
<%= form_for project, method: :patch, format: :html do |f| %>
<% project_form = f %>
<%= f.hidden_field :archived, value: true %>
<% end %>
<% end %>
<% if project.hidden? then %>
">
<% else %>
">
<% end %>
<% if can_view_project(project) then %>
<%= link_to project.name, project_path(project), id: "#{project.id}-project-canvas-link" %>
<% else %>
<%= project.name %>
<% end %>
<%= t('projects.index.start_date') %>
<%=l project.created_at, format: :full_date %>