Sha256: d90d61d5f11919906f4e1864f4ef3ba36586a436c97d93fee007be840c1c16f2
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
Description: This generator creates haml views for use with the simple_form gem by Plataforma Tec. It also uses the show_for gem for displaying model attributes in the show.html.haml that it generates. Before you can use this generator you need to install both gems: gem install simple_form gem install show_for Example: rails generate simple_form_haml:scaffold Thing This will create: app/views/things/index.html.haml app/views/things/edit.html.haml app/views/things/show.html.haml app/views/things/new.html.haml app/views/things/_form.html.haml app/views/shared/_form_errors.html.haml
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails3-generators-0.8.2 | lib/generators/simple_form_haml/USAGE |
rails3-generators-0.8.1 | lib/generators/simple_form_haml/USAGE |
rails3-generators-0.8.0 | lib/generators/simple_form_haml/USAGE |