Sha256: 10d45aeb51d65bca978a76518ba316ca97de01a98e94efb1140d34c1a751b1e6

Contents?: true

Size: 819 Bytes

Versions: 21

Compression:

Stored size: 819 Bytes

Contents

<div class="index-head">
  <h2>Releases</h2>
  <%= link_to 'New release', new_release_path, :class => "add" %>
</div>

<table class="index">
  <tr>
    <th>Release date</th>
    <th>Notes</th>
    <th>&nbsp;</th>
  </tr>

<% @releases.each do |release| %>
  <% @release = release -%>
  <tr class="<%=cycle('odd','even')%>">
    <td><%=h release.release_date %></td>
    <td><%= in_place_editor_field 'release', 'notes' %></td>
    <td>
      <%= link_to 'Show', release %>&nbsp;&nbsp;&bull;
      <%= link_to 'Edit', edit_release_path(release) %>&nbsp;&nbsp;&bull;
      <%= link_to 'Destroy', release, :confirm => 'Are you sure you want to delete this release?', :method => :delete %>
    </td>
  </tr>
<% end %>
</table>
<br />
<%= link_to 'New release', new_release_path, :class => "add" if @releases.size > 10  %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
branston-0.6.6 lib/branston/app/views/releases/index.html.erb
branston-0.6.5 lib/branston/app/views/releases/index.html.erb
branston-0.6.4 lib/branston/app/views/releases/index.html.erb
branston-0.6.3 lib/branston/app/views/releases/index.html.erb
branston-0.6.2 lib/branston/app/views/releases/index.html.erb
branston-0.6.1 lib/branston/app/views/releases/index.html.erb
branston-0.6.0 lib/branston/app/views/releases/index.html.erb
branston-0.5.2 lib/branston/app/views/releases/index.html.erb
branston-0.5.1 lib/branston/app/views/releases/index.html.erb
branston-0.5.0 lib/branston/app/views/releases/index.html.erb
branston-0.4.6 lib/branston/app/views/releases/index.html.erb
branston-0.4.5 lib/branston/app/views/releases/index.html.erb
branston-0.4.4 lib/branston/app/views/releases/index.html.erb
branston-0.4.3 lib/branston/app/views/releases/index.html.erb
branston-0.4.2 lib/branston/app/views/releases/index.html.erb
branston-0.4.1 lib/branston/app/views/releases/index.html.erb
branston-0.4.0 lib/branston/app/views/releases/index.html.erb
branston-0.3.6 lib/branston/app/views/releases/index.html.erb
branston-0.3.4 lib/branston/app/views/releases/index.html.erb
branston-0.3.3 lib/branston/app/views/releases/index.html.erb