kithe
kithe copied to clipboard
repeatable_attr_input's simple_form_input_args[:label] option should be respected by add_another_text method
It would be nice if repeatable_attr_input
kept this potential label arg in mind when ultimately generating the add_another_text
value. Otherwise, you end up with a nice label and a funny "Add another Gbl displaynote sm" link:
I know you can add these field strings into a I18n file, but I specifically don't want to have to do that. I'm pulling all of my form fields, field types, labels, html_attributes, etc. from an ActiveRecord model: https://github.com/geobtaa/geomg/blob/feature/attribute-model/db/schema.rb#L238-L264
Hoping to find time this week or next for a little PR to support this...