Sha256: f932b1c7ba9bd4f5f9c3d3c129aa1c7811a382feb7ee2433cb543535be8abcf2

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

<% featured = f.object.generic_work_solr_document %>
<li class="dd-item dd3-item featured-item" data-id="<%= featured.id %>">
  <div class="dd-handle dd3-handle"><%= t :drag %></div>
  <div class="dd3-content panel panel-default">
    <%= f.hidden_field :id %>
    <%= f.hidden_field :order, data: {property: "order"} %>
    <div class="main row">
      <div class="col-sm-3">
        <%= link_to curation_concerns_generic_work_path(featured) do %>
          <%= render_thumbnail_tag featured, {width: 90} %>
        <% end %>
      </div>
      <div class="col-sm-9">
        <% if can? :destroy, FeaturedWork %>
          <h3 class="pull-right">
            <%= link_to sufia.featured_work_path(featured, format: :json),
              title: "Remove work from feature section",
              data: {behavior: 'unfeature'} do %>
              <i class='glyphicon glyphicon-remove'></i>
            <% end %>
          </h3>
        <% end %>
        <%= render partial: 'sufia/homepage/featured_fields', locals: {featured: featured} %>
      </div>
    </div>
  </div>
</li>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-7.0.0.beta2 app/views/sufia/homepage/_sortable_featured.html.erb
sufia-7.0.0.beta1 app/views/sufia/homepage/_sortable_featured.html.erb