Sha256: fab9f480018126e3c3518f71138ce8fae164bfe57e49e200f14cac90541accfb
Contents?: true
Size: 962 Bytes
Versions: 6
Compression:
Stored size: 962 Bytes
Contents
<% if child_geo_works_type(presenter) %> <div class="panel panel-default" id="child-works"> <div class="panel-heading"> <h2>Child Works</h2> </div> <table class="table table-striped" data-query-url="<%= polymorphic_path([main_app, :hyrax, presenter.model_name.singular], id: @presenter.id) %>" data-members="<%= @presenter.member_presenters.map(&:id) %>" data-param-key="<%= @presenter.model_name.param_key %>"> <thead> <% if presenter.work_presenters.present? %> <tr> <th class="col-xs-3"></th> <th>Work Name</th> <th>Actions</th> </tr> <% end %> </thead> <tbody> <% if presenter.work_presenters.present? %> <%= render partial: 'geo_works/related/child_member', collection: @presenter.work_presenters %> <% end %> </tbody> </table> <%= render partial: 'geo_works/related/new_child_member' %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems