Sha256: feac32d3953880cb4e1690fd0aba27f05b3939db4458134902610970395bd4e3

Contents?: true

Size: 671 Bytes

Versions: 9

Compression:

Stored size: 671 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Listing Events</h1>

<table>
  <thead>
    <tr>
      <th>Date</th>
      <th>Datetime</th>
      <th>Time</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @events.each do |event| %>
      <tr>
        <td><%= event.date %></td>
        <td><%= event.datetime %></td>
        <td><%= event.time %></td>
        <td><%= link_to 'Show', event %></td>
        <td><%= link_to 'Edit', edit_event_path(event) %></td>
        <td><%= link_to 'Destroy', event, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Event', new_event_path %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
date_picker-0.0.9 test/dummy/app/views/events/index.html.erb
date_picker-0.0.8 test/dummy/app/views/events/index.html.erb
date_picker-0.0.7 test/dummy/app/views/events/index.html.erb
date_picker-0.0.6 test/dummy/app/views/events/index.html.erb
date_picker-0.0.5 test/dummy/app/views/events/index.html.erb
date_picker-0.0.4 test/dummy/app/views/events/index.html.erb
date_picker-0.0.3 test/dummy/app/views/events/index.html.erb
date_picker-0.0.2 test/dummy/app/views/events/index.html.erb
date_picker-0.0.1 test/dummy/app/views/events/index.html.erb