Sha256: d3431cef53f1f51222cebaa48b498e9b12a71c04f1d5f3da1ce843344290992c
Contents?: true
Size: 1.34 KB
Versions: 3
Compression:
Stored size: 1.34 KB
Contents
<%= provide(:page_title, I18n.t('model.Section')) %> <div class="row-fluid"> <div class="widget widget-padding span12" id="wizard"> <div class="widget-header"> <ul class="nav nav-tabs"> <% current_page = "no-page" %> <% @sections.each_with_index do |section, index| %> <% if current_page != section.page %> <% if index == 0 %> <li class = "active"> <% else %> <li> <% end %> <%= link_to (section.page.capitalize), "#tab#{index}", "data-toggle" => "tab" %></li> <% current_page = section.page %> <% end %> <% end %> </ul> </div> <div class="widget-body"> <div class="tab-content"> <% current_page = "no-page" %> <% @sections.each_with_index do |section, index| %> <% if current_page != section.page %> <% if index == 0 %> <div class="tab-pane active" id="tab<%= index %>"> <% else %> <div class="tab-pane" id="tab<%= index %>"> <% end %> <% section_pages = Adminpanel::Section.of_page section.page %> <%= render "sections_table", :sections => section_pages %> </div> <% current_page = section.page %> <% end %> <% end %> </div> </div> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-2.4.0 | app/views/adminpanel/sections/index.html.erb |
adminpanel-2.3.1 | app/views/adminpanel/sections/index.html.erb |
adminpanel-2.3.0 | app/views/adminpanel/sections/index.html.erb |