Sha256: 8902924de9a72dabe28477c1ebfac45454d7578ab9df7970a2b1f302757f0756

Contents?: true

Size: 792 Bytes

Versions: 37

Compression:

Stored size: 792 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".
    --controller PATH   Generate for custom controller/view path - in case model and controller namespace is different, i.e. "admin/posts".
    
EXAMPLE
  ./script/generate form ExistingModelName [--haml] [--partial]

Version data entries

37 entries across 37 versions & 7 rubygems

Version Path
formtastic-1.0.0.rc generators/form/USAGE
formtastic-1.0.0.beta4 generators/form/USAGE
formtastic-rails3-0.9.10.1 generators/form/USAGE
formtastic-1.0.0.beta3 generators/form/USAGE
formtastic-1.0.0.beta2 generators/form/USAGE
formtastic-1.0.0.beta generators/form/USAGE
formtastic-rails3-0.9.10.0 generators/form/USAGE
formtastic-0.9.10 generators/form/USAGE
formtastic-0.9.9 generators/form/USAGE
formtastic-0.9.8 generators/form/USAGE
formtastic-rails3-0.9.7 generators/form/USAGE
jintastic-1.1.0 vendor/plugins/formtastic/generators/form/USAGE
jintastic-1.0.2 vendor/plugins/formtastic/generators/form/USAGE
tmayad-formtastic-0.9.7 generators/form/USAGE
ShadowBelmolve-formtastic-0.9.7 generators/form/USAGE
formtastic-0.9.7 generators/form/USAGE
formtastic-0.9.6 generators/form/USAGE