Sha256: 18234e1172023302fe6f281c19d91457a48234d84f760180cd86201d49daaf72

Contents?: true

Size: 1.4 KB

Versions: 55

Compression:

Stored size: 1.4 KB

Contents

<% group = f.object %>
<%= render layout: 'spotlight/shared/dd3_item', locals: { id: group.id.to_s, field: f, dd3_content_classes: "group" , enabled_method: :published, label_method: :title, label: group.title } do |_, section| %>
  <% case section when nil %>
  <div class="d-flex flex-grow-1">
    <div>
      <%= f.check_box :published, inline: true, hide_label: true %>
    </div>

    <div class="flex-grow-1 mx-2 main">
      <h4 class="card-title h6 mb-0" data-in-place-edit-target=".edit-in-place" data-in-place-edit-field-target="[data-edit-field-target='true']">
        <a href="#edit-in-place" class="field-label edit-in-place"><%= group.title %></a>
        <%= f.hidden_field :title, value: group.title , class: 'form-control form-control-sm title-field', data: {:"edit-field-target" => 'true'} %>
      </h4>

      <div class="card-text">
        <div class=""><%= t :'spotlight.searches.group.category_count', count: group.searches.count %> <%= t :'spotlight.searches.group.unpublished_count', count: group.searches.unpublished.count %> &bull; <%= link_to t(:'helpers.action.view'), exhibit_browse_groups_path(current_exhibit, group) %></div>
        <%= f.hidden_field :id %>
        <%= f.hidden_field :weight, data: {property: "weight"} %>
      </div>
    </div>
    <div class="flex m-2">
      <div class="card-text">
        <%= exhibit_delete_link(group) %>
      </div>
    </div>
  <% end %>
<% end %>

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
blacklight-spotlight-5.0.0.pre.alpha1 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.7.1 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.7.0 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.6.1 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.6.0 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.5.0 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.4.0 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.3.6 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.3.5 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.3.4 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.3.3 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.3.2 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.3.1 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.3.0 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.2.0 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.1.2 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.1.1 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.1.0 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.0.3 app/views/spotlight/searches/_group.html.erb
blacklight-spotlight-4.0.2 app/views/spotlight/searches/_group.html.erb