themengruppen show small fix

This commit is contained in:
Andreas Stephanides
2014-03-29 14:06:44 +01:00
parent ddb230604c
commit 341f6db268
4 changed files with 3 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ $sansFontFamily: Helvetica, Arial;
@import 'font-awesome';
h1 {
h1 {
font-size: 23px
}

View File

@@ -16,7 +16,7 @@ class BeispieleController < ApplicationController
def show
# @lva = params([:lva]) unless params([:lva]).nil?
@beispiel = Beispiel.find(params[:id])
redirect_to @beispiel.lva
redirect_to @beispiel.lva
end
# GET /beispiele/new

View File

@@ -1,3 +1,2 @@
<h2><%= nlink.title %></h2>
<% render :partial=> "lvas/lva", :object=>nlink %>
=

View File

@@ -8,10 +8,7 @@
<ul class="unstyled linkbox-list" >
<% @themengruppe.themen.each do |thema| %>
<li>
<div class="contentbox">
<a name="<%=thema.id%>" href="#<%=thema.id%>">
<h2><%= thema.title %></h2>
</a>
<div class="contentbox">
<%= render :partial => 'themen/small', :object => thema %>
tools:
<%