Module: GOVUKDesignSystemFormBuilder::Traits::HTMLAttributes
- Included in:
- Containers::CheckBoxes, Containers::Fieldset, Containers::FormGroup, Containers::Radios, Elements::Caption, Elements::CheckBoxes::FieldsetCheckBox, Elements::CollectionSelect, Elements::ErrorSummary, Elements::File, Elements::Hint, Elements::Inputs::Email, Elements::Inputs::Number, Elements::Inputs::Phone, Elements::Inputs::Text, Elements::Inputs::URL, Elements::Label, Elements::Legend, Elements::Password, Elements::Radios::FieldsetRadioButton, Elements::Select, Elements::Submit, Elements::TextArea
- Defined in:
- lib/govuk_design_system_formbuilder/traits/html_attributes.rb
Instance Method Summary collapse
Instance Method Details
#attributes(html_attributes = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/govuk_design_system_formbuilder/traits/html_attributes.rb', line 6 def attributes(html_attributes = {}) .deep_merge_html_attributes(html_attributes) .deep_tidy_html_attributes end |