neuigkeiten ->linkbox

This commit is contained in:
Andreas Stephanides
2013-09-26 10:11:30 +02:00
parent 9894213eb4
commit 62ac5a031d
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<%= link_to [neuigkeit.rubrik,neuigkeit] do %>
<div class="media neuigkeit_block">
<%= link_to [neuigkeit.rubrik,neuigkeit], {class: :linkbox} do %>
<div class="media">
<div class="pull-left" href="#">
<p><br><%= image_tag neuigkeit.picture.thumb.url unless neuigkeit.picture.url.nil? %>
</p>
@@ -14,5 +14,5 @@
<%= raw(neuigkeit.text_first_words) unless neuigkeit.text.nil?%>
</div>
</div>
<br>
<% end %>

View File

@@ -1,7 +1,7 @@
<%= render 'tabs' %>
<h1><%= I18n.t("rubrik.title")%></h1>
<ul class="unstyled" style="max-width:70em">
<ul class="unstyled linkbox-list" style="max-width:70em">
<% @neuigkeiten.each do |n| %>
<li><%= render n %> </li>
<% end %>