conga/luci/cluster form-macros
CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2007-01-30 21:06:12
Modified files:
luci/cluster : form-macros
Log message:
Fix for VM forms
luci/cluster/form-macros +3 -2
@@ -3650,7 +3650,8 @@ </div> <div metal:define-macro="xenvmadd-form"> - <form method="get" action="" tal:attributes="action python:request['baseurl'] + '?clustername=' + request['clustername'] + '&pagetype=29'"> + <span tal:define="global vmforminfo python: here.getXenVMInfo(modelb, request)/> + <form method="get" action="" tal:attributes="action vmforminfo/formurl"> <h4>Path to configuration file: </h4><input type="text" name="xenvmpath" value=""/> <h4>Name of configuration file: </h4><input type="text" name="xenvmname" value=""/> <input type="submit" value="Create Xen VM"/>
@@ -3660,7 +3661,7 @@ <div metal:define-macro="xenvmconfig-form"> <h4>Properties for Xen VM <font color="green"><span tal:content="request/servicename"/></font></h4> <span tal:define="global xeninfo python:here.getXenVMInfo(modelb, request)"> - <form method="get" action="" tal:attributes="action python:request['baseurl'] + '?clustername=' + request['clustername'] + '&pagetype=29&servicename=' + request['servicename']"> + <form method="get" action="" tal:attributes="action xeninfo/formurl"> <h4>Path to configuration file: </h4><input type="text" name="xenvmpath" value="" tal:attributes="value xeninfo/path"/> <h4>Name of configuration file: </h4><input type="text" name="xenvmname" value="" tal:attributes="value xeninfo/name"/> <input type="button" value="Delete"/>