<% if current_project && current_project.persisted? %>
<% if current_project.features.any? %> <% else %>
No features are enabled for <%= current_project.name %>. <% if can?(:update, current_project) %> You can enable features in <%= link_to "Project Settings", main_app.edit_project_path(current_project) %>. <% end %>
<% end %>
<% end %>