Sha256: c3b2b3d003b5ee5f38aa0ee681b64c0093001bfda7ab42d3dff9947a03c9ab48

Contents?: true

Size: 533 Bytes

Versions: 14

Compression:

Stored size: 533 Bytes

Contents

<%= tag.div id: t("arclight.views.show.sections.#{@section}").parameterize do %>
  <% if @heading %>
    <h3 class='al-show-sub-heading'>
      <%= t("arclight.views.show.sections.#{@section}", level: @presenter.document.level) %>
    </h3>
  <% end %>

  <%= tag.dl class: @classes do %>
    <% @presenter.field_presenters.each do |field_presenter| %>
      <%= render (field_presenter.component || Blacklight::MetadataFieldComponent).new(field: field_presenter, show: true, **@metadata_attr) %>
    <% end %>
  <% end %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arclight-1.4.0 app/components/arclight/metadata_section_component.html.erb
arclight-1.3.0 app/components/arclight/metadata_section_component.html.erb
arclight-1.2.0 app/components/arclight/metadata_section_component.html.erb
arclight-1.1.3 app/components/arclight/metadata_section_component.html.erb
arclight-1.1.2 app/components/arclight/metadata_section_component.html.erb
arclight-1.1.1 app/components/arclight/metadata_section_component.html.erb
arclight-1.1.0 app/components/arclight/metadata_section_component.html.erb
arclight-1.0.1 app/components/arclight/metadata_section_component.html.erb
arclight-1.0.0 app/components/arclight/metadata_section_component.html.erb
arclight-1.0.0.beta6 app/components/arclight/metadata_section_component.html.erb
arclight-1.0.0.beta4 app/components/arclight/metadata_section_component.html.erb
arclight-1.0.0.beta3 app/components/arclight/metadata_section_component.html.erb
arclight-1.0.0.beta2 app/components/arclight/metadata_section_component.html.erb
arclight-1.0.0.beta1 app/components/arclight/metadata_section_component.html.erb