From c04c8d8f910528af6ce7ab67fa3cfb1c6eec1b40 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Wed, 25 Feb 2015 12:16:17 +0100 Subject: [PATCH] fixes in views --- app/views/fetprofiles/show.html.erb | 2 +- app/views/themen/_small.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/fetprofiles/show.html.erb b/app/views/fetprofiles/show.html.erb index 9446b39..46da44a 100644 --- a/app/views/fetprofiles/show.html.erb +++ b/app/views/fetprofiles/show.html.erb @@ -40,7 +40,7 @@ end
-

<%= @fetprofile.vorname %> <%= @fetprofile.nachname %><% unless @fetprofile.shot.empty? %> <%= @fetprofile.short %> <% end %>

+

<%= @fetprofile.vorname %> <%= @fetprofile.nachname %><% unless @fetprofile.short.empty? %> <%= @fetprofile.short %> <% end %>

<%= @fetprofile.fetmail %>

diff --git a/app/views/themen/_small.html.erb b/app/views/themen/_small.html.erb index 1c59005..546e5b6 100644 --- a/app/views/themen/_small.html.erb +++ b/app/views/themen/_small.html.erb @@ -1,7 +1,7 @@ <% if can? :show, small %>
- +

<%= link_to small.title,small %> <%= link_to fa_icon("pencil"), verwalten_thema_path(small) if can? :edit, small %>

<%= image_tag small.titlepics.first.datei.url unless small.titlepics.first.nil? %>