Skip to content

Instantly share code, notes, and snippets.

@redrory
Created April 27, 2013 23:44
Show Gist options
  • Save redrory/5475214 to your computer and use it in GitHub Desktop.
Save redrory/5475214 to your computer and use it in GitHub Desktop.
<div class="tabbable"> <!-- Only required for left/right tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1" data-toggle="tab">Unpaid Jobs</a></li>
<li><a href="#tab2" data-toggle="tab">Paid Jobs</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab1">
<%= render :partial => "shared/feed_item", :feed_item1 => @feed_item1s %>
<b>Feed_items</b> <%= @feed_items.inspect%>
</div>
<div class="tab-pane" id="tab2">
<%= render :partial => "shared/feed_item", :feed_item1 => @paid_items1 %>
<b>Paid Items</b> <%= @paid_items.inspect%>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment