Sha256: 34f987770b30e359202ec1bc7ddc8e01b7bf0552a576e047b93ec63a2cff8076

Contents?: true

Size: 980 Bytes

Versions: 11

Compression:

Stored size: 980 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, :curation_concerns, 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_concerns/related/child_member', collection: @presenter.work_presenters %>
        <% end %>
      </tbody>
    </table>
    <%= render partial: 'geo_concerns/related/new_child_member' %>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

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