Sha256: f13866bf9e73bfb7d20c18b2503ff0191a88d7dc880ff10739b15280cfd7f64e

Contents?: true

Size: 797 Bytes

Versions: 3

Compression:

Stored size: 797 Bytes

Contents

<h1>Listing projects</h1>

<%= form_tag(nil, :method => :get) do %>
<%= label :search, :name %>:<%= text_field :search, :name %><br />
<%= label :search, :like_name %>:<%= text_field :search, :like_name %><br />
<%= submit_tag :search %>
<% end %>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>


  <tbody>
    <% @projects.each do |project| %>
    <tr>
      <td><%= link_to project.name, project_tasks_path(:project_id => project.id) %></td>
      <td><%= link_to 'Show', project %></td>
      <td><%= link_to 'Edit', edit_project_path(project) %></td>
      <td><%= link_to 'Delete', project_path(project, :mode => "draft") %></td>
    </tr>
    <% end %>
  </tbody>
</table>

<%= link_to 'New Project', new_project_path %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
railstar-0.0.12 test/dummy/app/views/projects/index.html.erb
railstar-0.0.11 test/dummy/app/views/projects/index.html.erb
railstar-0.0.10 test/dummy/app/views/projects/index.html.erb