Fixed Temaplte Module with Info and Images

This commit is contained in:
saurabhbhatia 2013-11-04 16:11:20 +08:00
parent 1f3f9831ad
commit 3816314b5b
1 changed files with 20 additions and 0 deletions

View File

@ -76,6 +76,18 @@
<% end %>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Images <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#images" data-toggle="tab">Images</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Template Info<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#info" data-toggle="tab">Template Info</a></li>
</ul>
</li>
</ul>
<div id="code-groups" class="tab-content">
<div class="clearfix tab-pane fade active in" id="html_0">
@ -93,6 +105,14 @@
<%= render :partial => 'tab_form', :locals => {:type => :css_reset, :object => @design.css_reset} %>
</div>
<div class="clearfix tab-pane fade active in" id="images">
<%= render :partial => 'images' %>
</div>
<div class="clearfix tab-pane fade active in" id="info">
<%= render :partial => 'form' %>
</div>
<% @design.javascripts.each do |js| %>
<div class="clearfix tab-pane fade active in" id="#<%= dom_id js %>">
<%= render :partial => 'tab_form', :locals => {:type => :javascripts, :object => js} %>