<p>
  <b>Last name:</b>
  <%=h @user_profile.last_name %>
</p>

<p>
  <b>First name:</b>
  <%=h @user_profile.first_name %>
</p>

<p>
  <b>Gender:</b>
  <%=h @user_profile.gender %>
</p>

<p>
  <b>Genre pref:</b>
  <%=h @user_profile.genre_pref %>
</p>

<p>
  <b>Bio:</b>
  <%=h @user_profile.bio %>
</p>

<% if @curr_user.id == @user_profile.user_id%>

<% if not @followings.nil? %>
	You are currently following these users:<br/><br/>
	<% @follows.each do |key, value| %>
	      <%if not value == -1%>
		<%= link_to( h(key), user_profile_path(value)) %>
	      <%else%>
		<%= link_to( h(key), '/no_profile') %>
              <%end%>    
	<%end%>
<%else%>
You are not currently following any users.
<%end%>
<br/>
<br/>

	<%= link_to 'Edit', edit_user_profile_path(@user_profile) %>
<%end%>
 | <a href="javascript:history.back();">Back</a>