Sha256: c8bcd7b2b4582a4c0bc1c7c0dbcefa8aec4ee84233c454fead521ab13116ac63

Contents?: true

Size: 1.05 KB

Versions: 30

Compression:

Stored size: 1.05 KB

Contents

<tr data-id="<%= key.parameterize %>" class="dd-item">
  <%= f.fields_for key do |field| %>
    <td>
      <%= field.hidden_field :weight, 'data-property' => 'weight' %>
      <div class="handle-wrap" data-in-place-edit-target=".edit-in-place" data-in-place-edit-field-target="[data-edit-field-target='true']">
        <div class="dd-handle dd3-handle"><%= t :drag %></div>
        <a href="#edit-in-place" class="field-label edit-in-place"><%= config.display_label %></a>
        <%= field.hidden_field :label, value: config.display_label, class: 'form-control form-control-sm', data: {:"edit-field-target" => 'true'} %>
       </div>
    </td>
    <td class="checkbox-cell text-center"><%= field.check_box :show, inline: true, checked: config.show, disabled: !config.immutable.show.nil?, hide_label: true %></td>
    <% available_view_fields.keys.each do |type| %>
    <td class="checkbox-cell text-center"><%= field.check_box type, inline: true, checked: config.send(type), disabled: !config.immutable.send(type).nil?, hide_label: true %></td>
    <% end %>
  <% end %>
</tr>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
blacklight-spotlight-3.4.1 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.4.0 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.3.0 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.2.0 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.1.0 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.0.3 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.0.2 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.0.1 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.0.0 app/views/spotlight/metadata_configurations/_metadata_field.html.erb
blacklight-spotlight-3.0.0.rc6 app/views/spotlight/metadata_configurations/_metadata_field.html.erb