forked from bofh/fetsite
fetprofile redesign
This commit is contained in:
9
app/views/fetprofiles/_portrait.html.erb
Normal file
9
app/views/fetprofiles/_portrait.html.erb
Normal 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>
|
||||
Reference in New Issue
Block a user