Form builder generator gem - Easily add form building to your existing Rails project and tweak to your liking
License
bensie/form-builder-generator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
form-builder-generator ============ ./script/generate form_builder This will create: app/models/form.rb app/models/form_field.rb app/models/form_value.rb app/models/submission.rb app/models/form_notifier.rb app/controllers/forms_controller.rb app/controllers/submissions_controller.rb app/views/forms/index.html.erb app/views/forms/edit.html.erb app/views/forms/show.html.erb app/views/forms/_form.html.erb app/views/forms/_form_field.html.erb app/views/submissions/index.html.erb app/views/submissions/edit.html.erb app/views/submissions/show.html.erb app/views/submissions/_submission.html.erb app/views/submissions/_form_value.html.erb app/views/submission_notifier/form_submission.text.html.erb app/views/submission_notifier/form_submission.text.plain.erb app/helpers/forms_helper.rb app/helpers/submissions_helper.rb db/migrate/CURRENT_DATE_create_forms.rb db/migrate/CURRENT_DATE_create_form_fields.rb db/migrate/CURRENT_DATE_create_submissions.rb db/migrate/CURRENT_DATE_create_form_values.rb This will add to config/routes.rb map.resources :forms, :member => { :sort_fields => :post } do |forms| forms.resources :submissions, :collection => { :thank_you => :get } end Copyright (c) 2009 James Miller, released under the MIT license
About
Form builder generator gem - Easily add form building to your existing Rails project and tweak to your liking
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published