HUI_name 0.3

It generates form elements for accepts_nested_attributes_for in Rails



Details

Author
Paxa
Current version
0.3
GitHub
Paxa/HUI_name
Downloads
1743
Category
Forms
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.2.4: '*'

How to use

var Hn = new HUI_name({
  sample: $$('.example_box')[0], 
  bindTo: 'add_new'
}); 
Hn.buildNew();

Options should contain:

  • 'sample': element you gonna clone to make new objects forms
  • 'pasteTo': place to point new part of form, default $('sample').parentNode
  • 'bindTo': it binds onClick event to start generator on $('bindTo') element

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus