Sha256: f44523d81e6ee02bed5a2ff6f0dd50099442c1dc1ab74cb9521f23fac2a53744

Contents?: true

Size: 851 Bytes

Versions: 3

Compression:

Stored size: 851 Bytes

Contents

<table class="table table-striped <%= dom_class(presenter) %> attributes" <%= presenter.microdata_type_to_html %>>
  <caption class="table-heading"><h2>Attributes</h2></caption>
  <thead>
  <tr><th>Attribute Name</th><th>Values</th></tr>
  </thead>
  <tbody>
  <%= render 'newspaper_works/base/attribute_rows', presenter: presenter %>
  <%= presenter.attribute_to_html(:permission_badge, label: 'Visibility') %>
  <%= presenter.attribute_to_html(:embargo_release_date, render_as: :date) %>
  <%= presenter.attribute_to_html(:lease_expiration_date, render_as: :date) %>
  <%= presenter.attribute_to_html(:license, render_as: :license) %>
  <% if defined?(presenter.member_of_collection_presenters) && presenter.member_of_collection_presenters.size > 0 %>
      <%= render 'member_of_collections', presenter: presenter %>
  <% end %>
  </tbody>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 app/views/newspaper_works/base/_attributes.html.erb
newspaper_works-1.0.0 app/views/newspaper_works/base/_attributes.html.erb
newspaper_works-0.1.0 app/views/newspaper_works/base/_attributes.html.erb