Fixed Temaplte Module with Info and Images
This commit is contained in:
parent
1f3f9831ad
commit
3816314b5b
|
@ -76,6 +76,18 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
<div id="code-groups" class="tab-content">
|
<div id="code-groups" class="tab-content">
|
||||||
<div class="clearfix tab-pane fade active in" id="html_0">
|
<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} %>
|
<%= render :partial => 'tab_form', :locals => {:type => :css_reset, :object => @design.css_reset} %>
|
||||||
</div>
|
</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| %>
|
<% @design.javascripts.each do |js| %>
|
||||||
<div class="clearfix tab-pane fade active in" id="#<%= dom_id js %>">
|
<div class="clearfix tab-pane fade active in" id="#<%= dom_id js %>">
|
||||||
<%= render :partial => 'tab_form', :locals => {:type => :javascripts, :object => js} %>
|
<%= render :partial => 'tab_form', :locals => {:type => :javascripts, :object => js} %>
|
||||||
|
|
Loading…
Reference in New Issue