<%= t('spotlight.curation.header') %>
<%= f.submit nil %>
<%= t('spotlight.curation.metadata_fields.header') %>
<%= t('spotlight.curation.metadata_fields.order_header') %>
Select metadata fields to display on each type of page. Drag and drop fields to specify the order they are displayed on the Item Details page.
<%= t :'spotlight.curation.metadata_fields.label' %> | <%= t :'spotlight.curation.metadata_fields.view.show', default: t(:'blacklight.search.view.show') %> | <% @exhibit.blacklight_configuration.default_blacklight_config.view.keys.each do |type| %><%= t "spotlight.curation.metadata_fields.view.#{type}", default: t("blacklight.search.view.#{type}") %> | <% end %>
---|---|---|
<%= field.hidden_field :weight, 'data-property' => 'weight' %>
Drag
<%= config.label %>
|
<%= field.check_box :show, checked: (@exhibit.blacklight_configuration.index_fields[key] || {})[:show], label: "" %> | <% @exhibit.blacklight_configuration.default_blacklight_config.view.keys.each do |type| %><%= field.check_box type, checked: (@exhibit.blacklight_configuration.index_fields[key] || {})[type], label: "" %> | <% end %> <% end %>
<%= t('spotlight.curation.metadata_fields.exhibit_specific_header') %>
You can add metadata fields to supplement the metadata fields that are part of the repository item record.
<%= field.label %>
<%= link_to t('helpers.submit.edit'), edit_custom_field_path(field), class: 'btn btn-text' %> ·
<%= link_to t('helpers.submit.destroy'), custom_field_path(field), method: :delete, data: { confirm: t(:'spotlight.curation.metadata_fields.destroy_are_you_sure') }, class: 'btn btn-text' %>
|
<%= field.short_description %> |