HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Renamed input_field_set() to just inputs() and added a shorthand vers…
…ion where you pass in a list of fields, rather than a block: <% semantic_form_for @post do |form| %> <%= form.inputs :title, :body %> <% end %> Or you can skip the field list too, and get an input for every column in the database table (like scaffolding, great for slapping together a quick form during development): <% semantic_form_for @post do |form| %> <%= form.inputs %> <% end %> * input_field_set() is aliased to inputs() for backwards compatibility for now * heaps of documentation * README examples updated too See the inputs() documentation for the lowdown, pretty happy with this.
- Loading branch information...
Showing with 269 additions and 73 deletions.