
<%= render 'fetprofiles/tabs' %>
<div class="content-wrap content-column">
<h1>
  <%=	I18n.t 'profile.all_members' if params[:filter] == "all" %>
  <%=	I18n.t 'profile.active_members' if params[:filter].nil? || params[:filter]== "active"
	%>
</h1>
<div class="row-fluid">
  <div class="span12">
 <%= render 'layouts/pretty_toolbar' %>


    <% link_to I18n.t('profile.new_profile'), new_fetprofile_path %>
  </div>
</div>

<ul class="unstyled fetprofile_list linkbox-list" style="width:100%">
  <% @fetprofiles.each do |fetprofile| %>

<li>
    <%= link_to fetprofile, {class: :linkbox} do %>
  
    <div class="media">

      <span class="pull-left">
	<%=  image_tag fetprofile.picture.portrait.url %>
      </span>

      <div class="media-body">  
	<h2><%= fetprofile.name %></h2>

	<p><%= fetprofile.fetmail %></p>
<% if false %>
	<p><%= fetprofile.desc %></p>
<% end %>
  
      </div>

    </div>
 
   <% end %>
</li> 
 
  <% end %>

</ul>


<div class="row-fluid">
  <div class="span12">
    <%= link_to I18n.t('profile.new_profile'), new_fetprofile_path %>
  </div>
</div>

</div>
</div>


