Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap unsupported form field notes in proper divs (thoughtbot#515)
* Wrap unsupported form field notes in proper divs Problem: Forms for `has_one` and `polymorphic` relationships aren't currently supported, and they show up on form pages as a note to the user. This note is misaligned with the other form fields, because it is not wrapped in the same div that applies to the other fields. Solution: Add the apropriate `field-unit__field` div to the unsupported field types. * Fix syntax error in ERB
- Loading branch information