Skip to content

Instantly share code, notes, and snippets.

@dsummersl
Created June 14, 2016 22:43
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dsummersl/cc7665a63a8570b3ad9f5468f2b8fe01 to your computer and use it in GitHub Desktop.
<div>
<% @events_by_date.each do |day, events| %>
<section id="<%= day %>">
<h2>
<%= day %>
</h2>
<% events.each do |event| %>
<p><%= hyperlink(event.title) %></p>
<% end %>
<% end %>
</section>
</div>
<%
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment