fetprofile redesign

This commit is contained in:
Andreas Stephanides
2014-10-27 15:40:12 +01:00
parent 9c5063b047
commit 9a2bf17e81
5 changed files with 52 additions and 25 deletions

View File

@@ -0,0 +1,9 @@
<div style="margin-left:auto; margin-right:auto;text-align:center"><%= image_tag portrait.try(:picture).try(:portrait) %>
<br> <span>
<% if portrait.nil?%>
PROFIL fehlt
<% else %>
<%= portrait.name %>
<% end %>
</span>
</div>