<% @title = 'Projects' %>

<% if @projects.empty? %>
<p><i>No projects have been created.</i></p>
<% else %>

<ul>
  <% @projects.each do |project| %>
  <li>
    <%= link_to project.name, :controller => :projects, :action => :show, :id => project.id -%>
    (<%= pluralize(project.nodes.count, "model") -%>)
  </li>
  <% end %>
</ul>
<% end %>

<p><%= link_to "Create a new project", :controller => :projects, :action => :new -%></p>


<% @title = 'Projects' %>

<p><%= link_to "Create a new project", :controller => :projects, :action => :new -%></p>
<br />

<% if @projects.empty? %>
<p><i>No projects have been created.</i></p>
<% else %>

<ul>
  <% @projects.each do |project| %>
  <li>
    <%= link_to project.name, :controller => :projects, :action => :show, :id => project.id -%>
    (<%= pluralize(project.nodes.count, "model") -%>)
  </li>
  <% end %>
</ul>
<% end %>

<br />
<p><%= link_to "Create a new project", :controller => :projects, :action => :new -%></p>

Add better link to new projects
Add better link to new projects


Former-commit-id: c40ef295b3ad41bbefc47ec1224bbe85fd6310d0