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.2.5 generators/form/USAGE
formtastic-1.2.4 generators/form/USAGE
formtastic-1.2.4.beta2 generators/form/USAGE
formtastic-1.2.3 generators/form/USAGE
formtastic-1.2.3.beta generators/form/USAGE
formtastic-1.2.2 generators/form/USAGE
formtastic-1.2.1 generators/form/USAGE
formtastic-1.2.1.beta3 generators/form/USAGE
formtastic-1.2.1.beta generators/form/USAGE
formtastic-1.2.0 generators/form/USAGE
formtastic-1.2.0.beta2 generators/form/USAGE
formtastic-1.2.0.beta generators/form/USAGE
formtastic-1.1.0 generators/form/USAGE
formtastic-1.1.0.beta generators/form/USAGE
sensis-formtastic-rails3-1.d4e5326 generators/form/USAGE
techthumb-formtastic-1.rails3.sha generators/form/USAGE
formtastic-1.0.1 generators/form/USAGE
formtastic-1.0.0 generators/form/USAGE
formtastic-1.0.0.rc2 generators/form/USAGE
formtastic-rails3-1.0.0.beta3 generators/form/USAGE