zeus.ugent.be/content/events.erb
Lorin Werthen 57733198e3 eventstuff
2016-08-26 23:21:58 +02:00

25 lines
469 B
Text

---
navigable: true
title: Events
---
<div>
<div class="content">
<h1>Upcoming events</h1>
</div>
<% all_events.each do |event| %>
<div class="box">
<a href="<%= relative_path_to(event) %>">
<%= event[:title] %>
</a>
<% sub_events(event).each do |sub_event| %>
<div class="subevent">
<a href="<%= relative_path_to(sub_event) %>">
<%= sub_event[:title] %>
</a>
</div>
<% end %>
</div>
<% end %>
</div>