Open thechrisoshow opened 12 years ago
This lets you set specific html values for the label.
e.g. = f.text_field :address_line1, 'Address line 1', label_html: { class: "required" }
This adds the 'required' class to the generated label
This lets you set specific html values for the label.
e.g. = f.text_field :address_line1, 'Address line 1', label_html: { class: "required" }
This adds the 'required' class to the generated label