Class: Arclight::UpperMetadataLayoutComponent
- Inherits:
-
Blacklight::MetadataFieldLayoutComponent
- Object
- Blacklight::MetadataFieldLayoutComponent
- Arclight::UpperMetadataLayoutComponent
- Defined in:
- app/components/arclight/upper_metadata_layout_component.rb
Overview
Override upstream to add an offset bootstrap column class
Instance Method Summary collapse
-
#initialize(field:, label_class: 'col-md-3 offset-md-1', value_class: 'col-md-8') ⇒ UpperMetadataLayoutComponent
constructor
A new instance of UpperMetadataLayoutComponent.
Constructor Details
#initialize(field:, label_class: 'col-md-3 offset-md-1', value_class: 'col-md-8') ⇒ UpperMetadataLayoutComponent
Returns a new instance of UpperMetadataLayoutComponent.
6 7 8 |
# File 'app/components/arclight/upper_metadata_layout_component.rb', line 6 def initialize(field:, label_class: 'col-md-3 offset-md-1', value_class: 'col-md-8') super end |