Using simple_form, you can put the 'required' mark (by default, an asterisk) on the right of the label, instead of the left as it normally appears, by editing the config/initializers/simple_form.rb file and adding this:
config.label_text = lambda { |label, required| "#{label} #{required}" }
:)
Hilarious! I googled this and found your post. I totally missed that line – thanks!
ReplyDeleteMy past self is always happy to help :)
ReplyDeleteReally great post. This answered the majority of my questions. When I read this I actually opened up a word document and started taking notes haha.
ReplyDeletemediaonlines.com
Highly vigorous blog, I liked that much.
ReplyDeleteGentlemen