Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
On the wrapTemplate method, when setting the delete button click action there is one part when the button on the row is selected. using this jquery selector:
var button = $(row).find("button.delete");
As far as I understand, the row variable is the last value of the for on line 57. How can this work?
On the wrapTemplate method, when setting the delete button click action there is one part when the button on the row is selected. using this jquery selector:
var button = $(row).find("button.delete");
As far as I understand, therow
variable is the last value of thefor
on line 57. How can this work?https://github.com/gitana/alpaca/blob/4962461d435c8a1ff3524bd91d9304f389d1a901/src/js/fields/advanced/UploadField.js#L87