Blog (i18n)

@fredwu 15 years ago | 2 min read | no comments
Web applications normally have many forms. Building forms is always a mind-boggling task because it involves repetition and chaos. A shortcut is to use a form builder / DSL, such as Formtastic. As I am using Rails 3, and the Rails 3 port of Formtastic isn’t complete yet, I thought I’d just use the plain vanilla Rails built-in form helper. First of all, I am using Haml instead of ERb. Already, I got the out-of-box clean looking Haml markup. Some of you might not be aware of the fact that Rails...