using jsrender templates with jQuery UI

Load the script:

[gist id=1343709 file=head.html]

Define your template:

[gist id=1343709 file=template.html]

Then connect it with a jquery UI dialog:

[gist id=1343709 file=action.js]