Method: Formstrap::LabelView#options

Defined in:
app/models/formstrap/label_view.rb

#optionsObject



7
8
9
10
11
# File 'app/models/formstrap/label_view.rb', line 7

def options
  keys = attributes - %i[attribute form text]
  options = to_h.slice(*keys)
  default_options.deep_merge(options)
end