app/views/user_profiles/_user_profile_entries.html.erb
<% if @user_profile_entries.empty? %>
<strong><h3> This user does not have any publicly viewable information for this department </h3></strong>
<% else %>
<p><strong><%= "Login: " %></strong><%= @user.login %></p>
<p><strong><%= "Email Address: " %></strong><%= @user.email %></p>
<% for entry in @user_profile_entries %>
<p>
<% if entry.content.nil? %>
<% elsif entry.display_type == "picture_link" && entry.content != '' %>
<div class='pic_box'>
<%= image_tag(entry.content, {alt: @user_profile.user.proper_name, class: "profile_pic"}) %>
</div>
<% else %>
<strong><%= "#{entry.field_name}: " %></strong>
<%= entry.content %>
<% end %>
</p>
<% end %>
<% end %>