<%= notice %>

Events

<%= render partial: "events/form", locals: { event: Event.new } %> <%# <%= link_to "New event", new_event_path %1> %>

Help on this table

This is an example of some kind of table. There are lots of things wrong with it but who cares. It is a nice table, isn't it? I'm hoping this text spans all the way across so I can see what it looks like when it renders.

<% @january_dates.each do |e| %> <% if e.saturday? %> <% elsif e.sunday? %> <% else %> <% end %> <% end %>
Date Day BAES Barrow RRDL Op. Berths Comments
<%= e.strftime("%d/%m") %> <%= e.strftime("%A") %> - - - -
<%= e.strftime("%d/%m") %> <%= e.strftime("%A") %> - - - -
<%= e.strftime("%d/%m") %> <%= e.strftime("%A") %> DSC 2/A - - -
<% @events.each do |e| %> <% end %>
Date Name
<%= e.date.to_formatted_s(:rfc822) %> <%= e.name %>