Skip to content

Instantly share code, notes, and snippets.

@v-fedorov
Created June 5, 2013 19:43
Show Gist options
  • Save v-fedorov/5716673 to your computer and use it in GitHub Desktop.
Save v-fedorov/5716673 to your computer and use it in GitHub Desktop.
<div class="content">
<div class="opening">
<p>
<%= render_elements %>
</p>
</div>
<% Team.order("position asc").all.in_groups_of(2, false) do |teams| %>
<div id="team_row">
<% teams.each do |member| %>
<div class="<%= cycle('teamodd', 'teameven') %>">
<div class="piclink">
<%= get_showcase_image(member, '136x134') %>
<%= image_tag 'team/link.png', :class => 'linked' %>
<%= link_to("#{member.name.titleize}'s Profile", member.linkedin, :class => 'link') %>
</div>
<div class="aboutme">
<h4><%= member.name %></h4>
<p>
<%= member.name %>
<% if member.has_github? %>
(<a class="hub" href="https://github.com/<%= member.github %>">aka <%= member.github %></a>)
<% end %>
<%= member.bio %>
</p>
</div>
</div>
<% end %>
</div>
<% end %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment