Sha256: 5203a5f593787481ad144b738af00863201be90d59bdfc6486287daeaa7365a8

Contents?: true

Size: 636 Bytes

Versions: 4

Compression:

Stored size: 636 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">
        <%= contact_to(contact) %>
      </div>
    </div>
  </div>
<% end %>

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_stream-base-0.6.3 app/views/contacts/_index.html.erb
social_stream-base-0.6.2 app/views/contacts/_index.html.erb
social_stream-base-0.6.1 app/views/contacts/_index.html.erb
social_stream-base-0.6.0 app/views/contacts/_index.html.erb