Hacker Newsnew | comments | show | ask | jobs | submit login

I like how the registration form shows the form validation errors inline: http://i.imgur.com/U5QL1.png

Looking at the source view(https://github.com/democrats/voter-registration/blob/master/...) it doesn't seems there is some extra markup, unless I am missing something.

So, How can I implement the same in my rails app?




That's simple_form at work. Great little gem.

-----


Thanks for pointing that out :)

-----




Applications are open for YC Winter 2016

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: