2016-07-18 11:06:45 +02:00
|
|
|
<% content_for :head do %>
|
|
|
|
<meta property="og:image" content="<%= item[:banner] %>" />
|
2016-07-18 11:15:03 +02:00
|
|
|
<meta property="og:title" content="<%= item[:title] %>" />
|
2016-07-18 11:06:45 +02:00
|
|
|
<% end %>
|
|
|
|
|
2016-07-12 23:58:08 +02:00
|
|
|
<img class="pure-img" id="event-banner" src="<%= item[:banner] %>" alt="" />
|
|
|
|
|
|
|
|
<div id="event-content">
|
|
|
|
<div id="sticky-anchor"></div>
|
|
|
|
<div id="sticky">
|
2016-07-18 23:34:38 +02:00
|
|
|
<h1 id="event-title">
|
|
|
|
<%= item[:title] %>
|
|
|
|
</h1>
|
|
|
|
<%= render '/partials/_navbar.*' %>
|
2016-07-12 23:58:08 +02:00
|
|
|
</div>
|
|
|
|
<div class="pure-g">
|
|
|
|
<!-- Wrapper needed to add some padding to the grid class -->
|
|
|
|
<div id="event-description-wrapper" class="pure-u-3-4">
|
2016-07-18 12:33:35 +02:00
|
|
|
<div class="pure-u-1-6"></div>
|
|
|
|
<div class="pure-u-2-3">
|
|
|
|
<div id="event-description">
|
|
|
|
<%= yield %>
|
|
|
|
</div>
|
2016-07-12 23:58:08 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="event-info" class="pure-u-1-4">
|
|
|
|
<ul class="fa-ul">
|
|
|
|
<li><i class="fa-li fa fa-clock-o"></i><%= item[:time] %></li>
|
|
|
|
<li><i class="fa-li fa fa-globe"></i><%= item[:location] %></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-07-18 23:34:38 +02:00
|
|
|
<script src="/assets/scripts/eventpost.js"></script>
|