Format speakers properly

This commit is contained in:
Stefan Schlott 2013-08-24 20:40:00 +02:00
parent 21257425e0
commit d7ecadd47f
3 changed files with 19 additions and 15 deletions

View file

@ -5,11 +5,10 @@
<article itemscope itemtype="http://schema.org/EducationEvent">
<header>
<h1 itemprop="name"><%= item[:title] %></h1>
<p>
<strong>Termin:</strong>
<span itemprop="startDate" content="<%= @item[:startdate].strftime("%Y-%m-%d") %>T19:30"><%= @item[:startdate].strftime("%d.%m.%Y") %>, 19:30 Uhr</span>
</p>
<p>
<strong>Termin:</strong>
<span itemprop="startDate" content="<%= @item[:startdate].strftime("%Y-%m-%d") %>T19:30"><%= @item[:startdate].strftime("%d.%m.%Y") %>, 19:30 Uhr</span>
<br />
<div class="commaseparated">
<strong>Referent:</strong>
<ul class="commaseparated">
<% @item[:speakers].each do |speaker| %>
@ -18,13 +17,11 @@
</li>
<% end %>
</ul>
</p>
<p>
<strong>Ort:</strong>
<span itemprop="location" itemscope itemtype="http://schema.org/Location">
<span itemprop="name">Stadtbibliothek am Mailänder Platz</span>, Max-Bense-Forum (UG)
</span>
</p>
</div>
<strong>Ort:</strong>
<span itemprop="location" itemscope itemtype="http://schema.org/Location">
<span itemprop="name">Stadtbibliothek am Mailänder Platz</span>, Max-Bense-Forum (UG)
</span>
</header>
<section itemprop="description">
<%= yield %>