-
Notifications
You must be signed in to change notification settings - Fork 0
Simple templated form plugin
License
jjburka/templated_form
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
TemplatedForm ============= Plugin based on various form examples I have ran across. I do not claim to have the copyright or authorship for that code Example ======= When installed creates the following helper methods: templated_form_for, templated_fields_for, templated_form_remote_for, templated_remote_form_for The fields inside the above blocks will be rendered using the partials found in the views/forms directory _field.html.erb Overrides the label/field pair in normal conditions _field_with_errors.html.erb Overrides under error condition Example Usage <% templated_form_for @foo , do |f|%> <%= f.text_field :description , :label=>"Enter a short description"%> <%= f.submit 'Add Image'%> <% end %> Copyright (c) 2008 James Burka released under the MIT license
About
Simple templated form plugin
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published