Sha256: 6c5ef44150725a7ef7df1ae24033239ff908821a33ef4b50539ef539120fcc5a
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
<% if can? :import_translations, Spotlight::Exhibit %> <div class="row col-md-12 mb-4"> <h2><%= t(:'.header') %></h2> <p class="instructions"><%= t(:'.description') %></p> <%= bootstrap_form_for current_exhibit, url: spotlight.import_exhibit_translations_path(current_exhibit), html: { class: 'row col-md-12 clearfix mb-3', multipart: true } do |f| %> <%= f.label :value, t(".import_label"), class: 'col-form-label col-12 col-sm-3 text-right' %> <div class="input-group col px-0"> <%= file_field_tag :file, class: 'form-control' %> <%= hidden_field_tag :tab, 'import' %> <div class="input-group-append"> <%= f.submit t(:'.import_submit'), class: 'btn btn-primary' %> </div> </div> <% end %> <div class="row col-md-12"> <%= content_tag :span, t(".export_label"), class: 'col-form-label col-12 col-sm-3 text-right' %> <%= link_to t(:'.export_current_locale', language: t(:"locales.#{@language}")), spotlight.exhibit_translations_path(current_exhibit, format: "yaml", locale: @language), class: 'btn btn-primary mr-3' %> <%= link_to t(:'.export_default_locale', language: t(:"locales.#{I18n.default_locale}")), spotlight.exhibit_translations_path(current_exhibit, format: "yaml", locale: I18n.default_locale), class: 'btn btn-primary' %> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-3.0.0.rc1 | app/views/spotlight/translations/_import.html.erb |
blacklight-spotlight-3.0.0.alpha.10 | app/views/spotlight/translations/_import.html.erb |