Sha256: b4f8ed9f9aa682fa0e3b01af1060ca2690502fd23b537f77187cacdb2471c115

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

<h1>Listing opening periods</h1>

<table>
  <tr>
    <th>Start</th>
    <th>End</th>
  </tr>

<% @opening_periods.each do |opening_period| %>
  <tr>
    <td><%= l opening_period.start_at %></td>
    <td><%= l opening_period.end_at %></td>
    <td><%= link_to 'Show', eventable_event_opening_period_path(@event, opening_period) %></td>
    <td><%= link_to 'Edit', edit_eventable_event_opening_period_path(@event, opening_period) %></td>
    <td><%= button_to 'Destroy', eventable_event_opening_period_path(@event, opening_period), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New opening period', new_eventable_event_opening_period_path(@event) %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dcs-eventable-0.0.8 app/views/eventable/opening_periods/index.html.erb