Sha256: a2e6d031045ca14f2f4e1bac4ca858e45d7415cd10d399a86d8f3819be943965
Contents?: true
Size: 925 Bytes
Versions: 15
Compression:
Stored size: 925 Bytes
Contents
<% presenter = f.object.presenter %> <li class="dd-item dd3-item featured-item" data-id="<%= presenter.id %>"> <div class="dd-handle dd3-handle"><%= t 'hyrax.homepage.featured_works.drag' %></div> <div class="dd3-content card"> <%= f.hidden_field :id %> <%= f.hidden_field :order, data: { property: "order" } %> <div class="main row"> <div class="col-sm-12"> <% if can? :destroy, FeaturedWork %> <h3 class="float-right"> <%= link_to hyrax.featured_work_path(presenter, format: :json), title: "Remove work from feature section", data: {behavior: 'unfeature'} do %> <i class='fa fa-times'></i> <% end %> <p class="sr-only"><%= t 'helpers.action.remove' %></p> </h3> <% end %> <%= render 'hyrax/homepage/featured_fields', featured: presenter %> </div> </div> </div> </li>
Version data entries
15 entries across 15 versions & 1 rubygems