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'; @import 'font-awesome';
h1 { h1 {
font-size: 23px font-size: 23px
} }

View File

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

View File

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

View File

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