Commit ba90b7fa authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

follow API changes of renderjs.

parent ae2d060e
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<div data-gadget-cacheable="1"\n <div data-gadget-cacheable="1"\n
tal:attributes="data-gadget string:gadgets/form/${field_type}/gadget?field_name=${field_name};\n tal:attributes="data-gadget string:gadgets/form/${field_type}/gadget?field_name=${field_name};\n
id string:${form_id}_${field_name};\n id string:${form_id}_${field_name};\n
data-gadget-cache-id string: ${form_id}_${field_name};"></div>\n data-gadget-cache-id string:${form_id}_${field_name};"></div>\n
\n \n
</div>\n </div>\n
</div>\n </div>\n
......
...@@ -90,9 +90,10 @@ ...@@ -90,9 +90,10 @@
<!--Form render goes here -->\n <!--Form render goes here -->\n
<div id="form_gadget"\n <div id="form_gadget"\n
tal:attributes="data-gadget string:${current_form_id}/Form_asRenderJSGadget;\n tal:attributes="data-gadget string:${current_form_id}/Form_asRenderJSGadget;\n
data-gadget:data-source string:Form_asJSON?form_id=${current_form_id};\n data-gadget-source string:Form_asJSON?form_id=${current_form_id};\n
data-gadget:data-handler string:ERP5Form.update;\n data-gadget-handler string:ERP5Form.update;\n
data-gadget:property string: {&quot;cacheable&quot;: &quot;1&quot;, &quot;cache_id&quot;: &quot;${current_form_id}&quot;}">\n data-gadget-cacheable string:1;\n
data-gadget-cache-id current_form_id;">\n
</div>\n </div>\n
\n \n
</div>\n </div>\n
......
10 11
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment