ActiveAdmin uses Formtastic to build and style their forms, which uses a specific set of markup elements and classes to provide a consistent look and feel. This updates the elements of a few custom forms (inventory filter, donation add items) so their labels and control sizes match all of the other forms.
I implemented these changes manually, however there should be an easier way to leverage Formtastic's form builder objects. I tried to use #semantic_form_for along with #inputs and #input helper methods but the elements weren't rendering like they were supposed to. If anyone wants to build on top of this to leverage Formtastic's shorthand, that would be great.
ActiveAdmin uses Formtastic to build and style their forms, which uses a specific set of markup elements and classes to provide a consistent look and feel. This updates the elements of a few custom forms (inventory filter, donation add items) so their labels and control sizes match all of the other forms.
I implemented these changes manually, however there should be an easier way to leverage Formtastic's form builder objects. I tried to use
#semantic_form_for
along with#inputs
and#input
helper methods but the elements weren't rendering like they were supposed to. If anyone wants to build on top of this to leverage Formtastic's shorthand, that would be great.