bugfix envoi du formulaire par méthode get.
[Plinn.git] / www / configureRegistrationTool.zpt
index 073e279..1746408 100644 (file)
@@ -5,17 +5,41 @@
   <br />
   <h4 i18n:translate="">Select registration mode</h4>
   <form action="." method="post" tal:attributes="action here/absolute_url">
-    <label><input type="radio" name="registration_mode" value="anonymous" tal:attributes="checked python:here.getMode() == 'anonymous'" /> <span i18n:translate="" tal:omit-tag="">Anonymous registration</span></label><br />
-    <label><input type="radio" name="registration_mode" value="manager" tal:attributes="checked python:here.getMode() == 'manager'"  /> <span i18n:translate="" tal:omit-tag="">Portal manager registration</span></label><br />
+    <label>
+      <input type="radio" name="registration_mode" value="anonymous"
+             tal:attributes="checked python:here.getMode() == 'anonymous'"/>
+      <span i18n:translate="" tal:omit-tag="">Anonymous registration</span>
+    </label>
+    <br/>
+    <label>
+      <input type="radio" name="registration_mode" value="pass_anonymous"
+             tal:attributes="checked python:here.getMode() == 'pass_anonymous'"/>
+      <span i18n:translate="" tal:omit-tag="">Anonymous registration with password</span>
+    </label>
+    <br/>
+    <label>
+      <input type="radio" name="registration_mode" value="manager"
+             tal:attributes="checked python:here.getMode() == 'manager'"/>
+      <span i18n:translate="" tal:omit-tag="">Portal manager registration</span>
+    </label>
+    <br/>
     <div>
-           <label><input type="radio" name="registration_mode" value="reviewed" tal:attributes="checked python:here.getMode() == 'reviewed'" /> <span i18n:translate="" tal:omit-tag="">Reviewed registration</span></label><br />
+           <label>
+        <input type="radio" name="registration_mode" value="reviewed"
+               tal:attributes="checked python:here.getMode() == 'reviewed'"/>
+        <span i18n:translate="" tal:omit-tag="">Reviewed registration</span>
+      </label>
+      <br/>
            <div style="margin-left : 1em">
         <em i18n:translate="" >Workflow chain</em><br />
-        <input type="text" name="chain" size="50" value="workflow chain" tal:attributes="value here/getWfChain" />
+        <input type="text" name="chain" size="50" value="workflow chain"
+               tal:attributes="value here/getWfChain"/>
       </div>
          </div>
          <h5 style="color : red" i18n:translate=""
-                               tal:condition="here/roleMappingMismatch">Role mapping mismatch : click Validate to solve this problem !</h5>
+                               tal:condition="here/roleMappingMismatch">
+        Role mapping mismatch : click Validate to solve this problem !
+    </h5>
     <input type="submit" name="configureTool:method" value="Validate" i18n:attributes="value" />
   </form>
 </div>