app/views/spotlight/translations/_pages.html.erb in blacklight-spotlight-3.0.0.alpha.9 vs app/views/spotlight/translations/_pages.html.erb in blacklight-spotlight-3.0.0.alpha.10
- old
+ new
@@ -1,29 +1,29 @@
<div role="tabpanel" class="tab-pane <%= 'active' if @tab == 'pages' %>" id="pages">
- <p class="instructions"><%= t('spotlight.exhibits.translations.pages.help_html') %></p>
+ <p class="instructions"><%= t('.help_html') %></p>
<%= bootstrap_form_for @exhibit, url: polymorphic_path([:update_all, @exhibit, :pages]), layout: :horizontal, control_col: 'col-sm-10', html: {:'data-form-observer' => true} do |f| %>
<div class="translation-home-page-settings">
<h2 class="translation-subheading">
- <%= t('spotlight.exhibits.translations.pages.home_page.label') %>
+ <%= t('.home_page.label') %>
</h2>
<%= render 'pages_table', pages: [current_exhibit.home_page], f: f %>
</div>
<% if current_exhibit.feature_pages.any? %>
<div class="translation-feature-page-settings">
<h2 class="translation-subheading">
- <%= t('spotlight.exhibits.translations.pages.feature_pages.label') %>
+ <%= t('.feature_pages.label') %>
</h2>
<%= render 'pages_table', pages: current_exhibit.feature_pages.for_default_locale, f: f %>
</div>
<% end %>
<% if current_exhibit.about_pages.any? %>
<div class="translation-about-page-settings">
<h2 class="translation-subheading">
- <%= t('spotlight.exhibits.translations.pages.about_pages.label') %>
+ <%= t('.about_pages.label') %>
</h2>
<%= render 'pages_table', pages: current_exhibit.about_pages.for_default_locale, f: f %>
</div>
<% end %>