erp5_web_renderjs_ui: reimplement relation field
Showing
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<base href="https://softinst62810.node.vifib.com/erp5/web_site_module/renderjs_runner/gadget_erp5_page_relation_search.html/" /> | |||
|
|||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |||
<meta name="viewport" content="width=device-width, user-scalable=no" /> | |||
<title>ERP5 Page Search</title> | |||
<!-- renderjs --> | |||
<script src="rsvp.js" type="text/javascript"></script> | |||
<script src="renderjs.js" type="text/javascript"></script> | |||
<!-- custom script --> | |||
<script src="gadget_global.js" type="text/javascript"></script> | |||
<script src="gadget_erp5_page_relation_search.js" type="text/javascript"></script> | |||
<script id="search-template" type="text/x-handlebars-template"> | |||
<div class="ui-field-contain"> | |||
<label data-i18n="Select Template">Select Template<span></span></label> | |||
<select> | |||
{{#each options}} | |||
{{#equal this ../select_template}} | |||
<option selected="selected" data-i18n="{{this}}" value="{{this}}">{{this}}</option> | |||
{{else}} | |||
<option data-i18n="{{this}}" value="{{this}}">{{this}}</option> | |||
{{/equal}} | |||
{{/each}} | |||
</select> | |||
</div> | |||
</script> | |||
</head> | |||
<body> | |||
<div class="left"> | |||
</div> | |||
<div data-gadget-url="gadget_erp5_pt_form_list.html" | |||
data-gadget-scope="form_list" | |||
data-gadget-sandbox="public"> | |||
</div> | |||
</body> | |||
</html> | |||
\ No newline at end of file |