<% content_for :title_bar do %>
  <h1>Listing projects</h1>
<% end %>

<%= link_to 'New Project', new_project_path, :class => :button %>

<ul id="projects">
  <% @projects.each do |project| %>
    <li>
      <h2><%= project.name %></h2>
      Started at: 
      <%= project.start_date %>
      <br />
      <p>
        The iteration starts on <%= Date::DAYNAMES[project.iteration_start_day].pluralize %> with length of <%= project.iteration_length %> week(s)
      </p>

      <div class="project_options">
        <%= link_to 'Show', project %>
        <%= link_to 'Edit', edit_project_path(project) %>
        <%= link_to 'Members', project_users_path(project) %>
      </div>
    </li>
  <% end %>
</ul>

<%= link_to 'New Project', new_project_path, :class => :button %>

<% content_for :title_bar do %>
  <h1>Listing projects</h1>
<% end %>

<%= link_to 'New Project', new_project_path, :class => :button %>

<ul id="projects">
  <% @projects.each do |project| %>
    <li>
      <h2><%= link_to project.name, project %></h2>
      Started at: 
      <%= project.start_date %>
      <br />
      <p>
        The iteration starts on <%= Date::DAYNAMES[project.iteration_start_day].pluralize %> with length of <%= project.iteration_length %> week(s)
      </p>

      <div class="project_options">
        <%= link_to 'Edit', edit_project_path(project) %>
        <%= link_to 'Members', project_users_path(project) %>
      </div>
    </li>
  <% end %>
</ul>

<%= link_to 'New Project', new_project_path, :class => :button %>

Make project title a link on index page
Make project title a link on index page
