Method: Formstrap::ColorView#label_options

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

#label_optionsObject



14
15
16
17
18
19
20
21
22
# File 'app/models/formstrap/color_view.rb', line 14

def label_options
  {
    class: ["form-label"],
    attribute: attribute,
    form: form,
    required: required,
    text: label
  }
end