_profile_list.html.erb 921 Bytes
<ul class="profile-list">
  <% profiles.each do |profile| %>
    <li>
    <%= link_to_profile profile_image(profile) + tag('br') + profile.short_name,
                        profile.identifier, :class => 'profile-link' %>
        <p class="category-name">
            <%= profile.category %>
        </p>
    <div class="controll">
      <%= button_without_text :remove, content_tag('span',_('unfollow')),
          { :controller => "profile", :profile => profile.identifier , :action => 'unfollow', :redirect_to => url_for({:controller => "followers", :profile => user.identifier}) },
            :title => _('remove') %>
      <%= modal_icon_button :change_categoy, content_tag('span',_('change category')),
             url_for(:controller => 'followers', :action => 'set_category_modal',
                     :followed_profile_id => profile.id) %>
    </div><!-- end class="controll" -->
    </li>
  <% end %>
</ul>