Last active
August 29, 2015 14:11
-
-
Save ruprict/73d4e486f6ccb52bcfdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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