Sha256: 44ad0bf2b2c8db86b788e45ae7e1330f754897a4cf01669c2d2fb9b95ef43fc9
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
<% # we will yield to content_for for each tab, e.g. :files_tab %> <% tabs ||= %w[metadata files relationships share] # default tab order %> <div class="row"> <div class="col-xs-12 col-sm-8" role="main"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <% tabs.each_with_index do | tab, i | %> <% if i == 0 %> <li role="presentation" class="active"> <% else %> <li role="presentation"> <% end %> <a href="#<%= tab %>" aria-controls="<%= tab %>" role="tab" data-toggle="tab"> <%= t("sufia.generic_works.edit.tab.#{tab}") %> </a> </li> <% end %> </ul> <!-- Tab panes --> <div class="tab-content"> <% tabs.each_with_index do | tab, i | %> <% if i == 0 %> <div role="tabpanel" class="tab-pane active" id="<%= tab %>"> <% else %> <div role="tabpanel" class="tab-pane" id="<%= tab %>"> <% end %> <%= yield "#{tab}_tab".to_sym if content_for? "#{tab}_tab".to_sym %> <%= render "form_#{tab}", f: f %> </div> <% end %> </div> </div> <div id="savewidget" class="col-xs-12 col-sm-4 fixedsticky" role="complementary"> <%= render 'form_progress', f: f %> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sufia-7.0.0.beta4 | app/views/curation_concerns/base/_guts4form.html.erb |
sufia-7.0.0.beta3 | app/views/curation_concerns/base/_guts4form.html.erb |