Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaked labelIcons() in elementvalidations.php model, so if no
validations and no empty icon, just return blank string rather than malfrmed Bootstrap icon classes.
- Loading branch information
0e8a98a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See:
http://fabrikar.com/forums/index.php?threads/space-at-the-front-of-labels.38390/#post-197154
Without this, we end up with an icon of class icon-, with no name. Not sure if we want to solve this here, or tweak the image() helper to return an empty string if there is no icon to show.
-- hugh