From 564c355d2d43b021b27c60b38e69f35642edd4e8 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Wed, 25 Feb 2015 11:41:59 +0100 Subject: [PATCH] fetprofile schema --- app/views/fetprofiles/show.html.erb | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/app/views/fetprofiles/show.html.erb b/app/views/fetprofiles/show.html.erb index f3e656c..9446b39 100644 --- a/app/views/fetprofiles/show.html.erb +++ b/app/views/fetprofiles/show.html.erb @@ -1,5 +1,5 @@ <%= content_for :header do %> -Fetsite - <%= @fetprofile.name %> +FET - <%= @fetprofile.name %> <% unless @fetprofile.picture.url.nil? picture_url=URI(root_url) picture_url.path=@fetprofile.picture.portrait.url @@ -28,17 +28,23 @@ end

<%= notice %>

-
+
+
- - <%= image_tag @fetprofile.picture.portrait.url %> + + + <%= image_tag @fetprofile.picture.portrait.url %> + + + +
-

<%= @fetprofile.name %>

-

+

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

+

<%= @fetprofile.fetmail %>

-

+

<%= @fetprofile.desc %>

<%= render partial: "interninfo", object: @fetprofile if can?(:seeintern, @fetprofile) %>