<%= t(:'.order_header') %>
<%= t :'.instructions' %>
<%= t :'.fields.label' %> | <%= t :'.view.show', default: t(:'blacklight.search.view.show') %> | <% @exhibit.blacklight_configuration.default_blacklight_config.view.keys.each do |type| %><%= t :".view.#{type}", default: t(:".view.#{type}") %> | <% end %>
---|---|---|
<%= field.hidden_field :weight, 'data-property' => 'weight' %>
<%= t :drag %>
<%= (@exhibit.blacklight_configuration.index_fields[key] || {}).fetch(:label, config.label) %>
<%= field.hidden_field :label, value: @exhibit.blacklight_configuration.index_fields.fetch(key, {})[:label], class: 'form-control input-sm' %>
|
<%= 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 %>
<%= f.submit nil, class: 'btn btn-primary pull-right' %>
<% end %>
<%= t(:'.exhibit_specific.header') %>
<%= t(:'.exhibit_specific.instructions') %>
<%= field.label %>
<%= edit_link field, class: 'btn btn-text' %> ·
<%= delete_link field, class: 'btn btn-text' %>
|
<%= field.short_description %> |