app/views/curation_concerns/base/_guts4form.html.erb in sufia-7.3.0.rc3 vs app/views/curation_concerns/base/_guts4form.html.erb in sufia-7.3.0
- old
+ new
@@ -1,7 +1,7 @@
<% # we will yield to content_for for each tab, e.g. :files_tab %>
-<% tabs ||= %w[metadata files relationships share] # default tab order %>
+<% tabs ||= %w[metadata files relationships] # 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">
@@ -14,9 +14,15 @@
<a href="#<%= tab %>" aria-controls="<%= tab %>" role="tab" data-toggle="tab">
<i class="fa icon-<%= tab %>"></i> <%= t("sufia.works.form.tab.#{tab}") %>
</a>
</li>
<% end %>
+
+ <li role="presentation" id="tab-share" class="hidden">
+ <a href="#share" aria-controls="share" role="tab" data-toggle="tab">
+ <i class="fa icon-share"></i> <%= t("sufia.works.form.tab.share") %>
+ </a>
+ </li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<% (tabs - ['share']).each_with_index do | tab, i | %>