Sha256: 6e597d5157184f9f52ab8ca276c776f48da71d008fc3da1a09a81cfd40ac5699

Contents?: true

Size: 666 Bytes

Versions: 5

Compression:

Stored size: 666 Bytes

Contents

<table id="drafttable">
  <thead>
  <tr>
    <th>Drafted On</th>
    <th>Subject</th>
    <th>&nbsp;</th>
  </tr>
  </thead>
  <tbody>
  <% @drafts.each do |draft| -%>
  <tr>
    <td><%= draft.created_at %></td>
    <td><%= draft.subject %></td>
    <td><%= link_to 'Edit',   :controller => 'draft', :action => 'edit',    :id => draft.id %> 
        <%= link_to 'Delete', :controller => 'draft', :action => 'destroy', :id => draft.id %>
        <%= link_to 'Post',   :controller => 'draft', :action => 'post',    :id => draft.id %>
    </td>
  </tr>
  <% end -%>
  </tbody>
</table>
<p><%= link_to 'Create New Draft', :controller => 'draft', :action => 'new' %></p>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
EliteJournal-1.9.400 app/views/draft/list.rhtml
EliteJournal-1.9.401 app/views/draft/list.rhtml
EliteJournal-1.9.403 app/views/draft/list.rhtml
EliteJournal-1.9.480 app/views/draft/list.rhtml
EliteJournal-1.9.492 app/views/draft/list.rhtml