index.rhtml
410 Bytes
<%= render :partial => 'shared/disabled_enterprise' %>
<h1><%= h profile.name %></h1>
<% if @action %>
<%= render :partial => 'private_profile' %>
<% else %>
<% unless profile.description.blank? %>
<div class='public-profile-description'>
<%= profile.description %>
</div>
<% end %>
<% end %>
<table class='profile'>
<%= render :partial => partial_for_class(profile.class) %>
</table>