Sha256: 73266e2e376b9224c5dcd2bf80d61f1e7ffe1514927124fa375ee3e62e4e86e0

Contents?: true

Size: 636 Bytes

Versions: 8

Compression:

Stored size: 636 Bytes

Contents

NAME
  form - Formtastic form generator.
  
DESCRIPTION
  Generates formtastic form code based on an existing model. By default the generated code will be printed out directly in the terminal, and also copied to clipboard. Can optionally be saved into partial directly.
  
  Required:
    ExistingModelName - The name of an existing model for which the generator should generate form code.
    
  Options:
    --haml      Generate HAML instead of ERB.
    --partial   Generate a form partial in the model views path, i.e. "_form.html.erb" or _form.html.haml".
    
EXAMPLE
  ./script/generate form ExistingModelName [--haml] [--partial]

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
formtastic-0.9.5 generators/form/USAGE
formtastic-0.9.4 generators/form/USAGE
formtastic-0.9.3 generators/form/USAGE
formtastic-0.9.2 generators/form/USAGE
lperichon-formtastic-0.9.2 generators/form/USAGE
formtastic-0.9.1 generators/form/USAGE
formtastic-0.9.0 generators/form/USAGE
formtastic-0.2.5 generators/form/USAGE