Sha256: 036ba0b9f46aa73c0ef6777e99f67d902ad3ec2e786ef0b851423a3818cccff5

Contents?: true

Size: 638 Bytes

Versions: 3

Compression:

Stored size: 638 Bytes

Contents

<% cont=0; %>

<% @contacts.each do |contact| %>

  <% if (cont%2) == 0 %>
    <% cont+=1; %>
     <div class="row">
  <% end %>

  <div class="label">
    <div class="logo">
      <%= link_to image_tag(contact.logo.url , :size => "50x50", :alt => contact.name), contact %>
    </div>
    <div class="sub-block">
      <div class="name black" >
        <%=link_to(contact.name, contact)%>
      </div>
      <div class="link">
        <%= ties_to(contact) %>
      </div>
    </div>
  </div>
<% end %>

<% if ((cont%2) != 0) 	%>
  <div class="label">
  </div>
		</div>
<% end %>

<div class="row">
  <%= will_paginate @contacts %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-0.4.4 app/views/contacts/_index.html.erb
social_stream-0.4.3 app/views/contacts/_index.html.erb
social_stream-0.4.2 app/views/contacts/_index.html.erb