Sha256: cc76322531a5f9764105a96c80e5a0a5f7f37523ec5570927a3a94a4e72908ea

Contents?: true

Size: 844 Bytes

Versions: 1

Compression:

Stored size: 844 Bytes

Contents

<h1>Listing opening times</h1>

<table>
  <tr>
    <th>Day of week</th>
    <th>Open</th>
    <th>Closed</th>
  </tr>

<% @opening_times.each do |opening_time| %>
  <tr>
    <td><%= t('date.day_names')[opening_time.day_of_week] %></td>
    <td><%= opening_time.open_at %></td>
    <td><%= opening_time.closed_at %></td>
    <td><%= link_to 'Show', eventable_opening_period_opening_time_path(@opening_period, opening_time) %></td>
    <td><%= link_to 'Edit', edit_eventable_opening_period_opening_time_path(@opening_period, opening_time) %></td>
    <td><%= button_to 'Destroy', eventable_opening_period_opening_time_path(@opening_period, opening_time), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New opening time', new_eventable_opening_period_opening_time_path(@opening_period) %>

Version data entries

1 entries across 1 versions & 1 rubygems

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