Sha256: 0a3c56497a05fc39494fa05510ae51ba709915ce1a67f43ec91b82af05447aeb

Contents?: true

Size: 690 Bytes

Versions: 5

Compression:

Stored size: 690 Bytes

Contents

<% cont=0; %>
<% @groups.each do |group| %>
	<% if (cont%2) == 0 %>
	  <% cont+=1; %>
 	  <div class="row">
	<% end %>
    <div class="label">
      <div class="logo">
        <%= link_to (image_tag(group.logo.url , :size => "50x50", :alt => group.name )), group  %>
      </div>
      <div class="sub-block">
        <div class="name black" >
          <%= link_to group.name, group %>
        </div>
        <div class="link">
          <%= ties_to(group) %>
        </div>
      </div>
    </div>
	<% if ((cont%2) == 0) 	%>
  	</div>
	<% end %>
<% end %>
<% if ((cont%2) != 0) 	%>
  <div class="label">
  </div>
		</div>
<% end %>
<div class="row">
  <%= will_paginate @groups %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
social_stream-0.4.4 app/views/groups/_index.html.erb
social_stream-0.4.3 app/views/groups/_index.html.erb
social_stream-0.4.2 app/views/groups/_index.html.erb
social_stream-0.4.1 app/views/groups/_index.html.erb
social_stream-0.4.0 app/views/groups/_index.html.erb