Files
fetsite/app/views/fetprofiles/_portrait.html.erb
Andreas Stephanides 9a2bf17e81 fetprofile redesign
2014-10-27 15:40:12 +01:00

10 lines
240 B
Plaintext

<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>