Skip to content

Instantly share code, notes, and snippets.

@ruprict
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruprict/73d4e486f6ccb52bcfdb to your computer and use it in GitHub Desktop.
Save ruprict/73d4e486f6ccb52bcfdb to your computer and use it in GitHub Desktop.
<div class="tabs-content-container" >
<div class="container tabbable">
<div class="section-container kyck-tabs" data-section="auto" data-section-resized="true">
<% build_tabs(@org, @team, @competition, @division).each do |k, t|
next if !t %>
<section class="section tabPane" <%= t[:disabled] || '' %> title="<%= t[:title] %>" href="<%= t[:href] %>" state="<%= t[:state] || '' %>"></section>
<% next unless t[:sublinks] %>
<ul class='sublinks'>
<% t[:sublinks].each do |st| %>
<li class="section tabPane" <%= st[:disabled] || '' %> title="<%= st[:title] %>" href="<%= st[:href] %>" state="<%= st[:state] || '' %>"></li>
<% end %>
</ul>
<% end %>
</div>
<div id="tabContent" class="tab-content-wrapper">
<%= content_for?(:content) ? yield(:content) : yield %>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment