Module: GOVUKDesignSystemFormBuilder::Traits::HTMLAttributes

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 = {})
  options
    .deep_merge_html_attributes(html_attributes)
    .deep_tidy_html_attributes
end