Sha256: d899f4fe2d9e66b89e036d5c0d54c7ccf137339158bbcdec3738b71e73a0e0a4

Contents?: true

Size: 915 Bytes

Versions: 11

Compression:

Stored size: 915 Bytes

Contents

<div class="panel panel-default" id="parent-works">
  <div class="panel-heading">
    <h2>Parent Works</h2>
  </div>
  <table class="table table-striped" data-query-url="<%= polymorphic_path([main_app, :curation_concerns, presenter.model_name.singular], id: @presenter.id) %>" data-members="<%= @presenter.parent_work_presenters.map(&:id) %>" data-param-key="<%= @presenter.model_name.param_key %>">
    <thead>
      <% if presenter.parent_work_presenters.present? %>
        <tr>
          <th class="col-xs-3"></th>
          <th>Work Name</th>
          <th>Actions</th>
        </tr>
      <% end %>
    </thead>
    <tbody>
      <% if presenter.parent_work_presenters.present? %>
        <%= render partial: 'geo_concerns/related/parent_member', collection: @presenter.parent_work_presenters %>
      <% end %>
    </tbody>
  </table>
  <%= render partial: 'geo_concerns/related/new_parent_member' %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
geo_concerns-0.3.4 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.3.3 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.3.2 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.3.1 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.3.0 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.2.0 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.1.1 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.1.0 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.0.10 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.0.9 app/views/geo_concerns/related/_parent_works.html.erb
geo_concerns-0.0.8 app/views/geo_concerns/related/_parent_works.html.erb