ensl.org/app/views/issues/index.html.erb

29 lines
752 B
Text

<h1>Listing issues</h1>
<div id="issueTabs">
<ul id="issueTabs-nav" class="tabs">
<li><a href="#open">Open</a></li>
<li><a href="#solved">Solved</a></li>
<li><a href="#rejected">Rejected</a></li>
</ul>
<div class="box wide tabs">
<div class="tab" id="open">
<%= render :partial => "list", :locals => {:issues => @open} %>
</div>
<div class="tab" id="solved">
<%= render :partial => "list", :locals => {:issues => @solved} %>
</div>
<div class="tab" id="rejected">
<%= render :partial => "list", :locals => {:issues => @rejected} %>
</div>
</div>
</div>
<%= link_to 'New issue', new_issue_path %>
<script type="text/javascript">
var tabber1 = new Yetii({id: 'issueTabs'});
</script>