Sha256: 2807d3122681e75125e4722297102b6c7941b97e2edd40ae66b3a97cd3b7fcd7

Contents?: true

Size: 1008 Bytes

Versions: 5

Compression:

Stored size: 1008 Bytes

Contents

<table class="nice_table tablesorter">
  <thead>
    <tr>
      <th>Event</th>
      <th>Location</th>
      <th>Description</th>
      <th style="border: 1px #CCF dashed; text-align:center">Manage</th>
    </tr>
  </thead>
  <tbody>
  <% for event in @deleted_events %>
    <tr style="background-color: #f5c6d7;">
      <td><%= link_to event.name, event_revision_path(event) %></td>
      <td><%= truncate(event.location, :length => 100) %></td>
      <td><%= truncate(event.description, :length => 100) %></td>
      <td><%= link_to 'restore', restore_event_revision_path(event),
                  :confirm => 'Are you sure you want to restore this deleted event?',
                  :method => "post",
                  :class => 'fake_button' %></td>
    </tr>
  <% end %>
  </tbody>
</table>

<script type="text/javascript">
$(document).ready(function()
  {
    $(".nice_table").tablesorter( { widgets: ['zebra'], headers: { 3:{sorter: false}, 4:{sorter: false}, 5:{sorter: false}} });
  }
);
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
event_calendar_engine-0.1.8 app/views/event_revisions/index.html.erb
event_calendar_engine-0.1.7 app/views/event_revisions/index.html.erb
event_calendar_engine-0.1.6 app/views/event_revisions/index.html.erb
event_calendar_engine-0.1.5 app/views/event_revisions/index.html.erb
event_calendar_engine-0.1.4 app/views/event_revisions/index.html.erb