fix. ajustement.
[Plinn.git] / Products / Plinn / skins / custom_generic / join_template.pt
index 4ac140b..a53a6cc 100644 (file)
           </p>
           <tal:case tal:condition="not: options/validate_email">
             <p i18n:translate="">Click the button to log in immediately.</p>
-            <form tal:attributes="action form/action">
+            <form tal:attributes="action form/action" method="post">
               <input type="hidden" name="__ac_name" tal:attributes="value options/member_id"/>
               <input type="hidden" name="__ac_password" tal:attributes="value options/password"/>
+              <input type="hidden" name="came_from" tal:attributes="value options/came_from">
               <input type="hidden" name="noAjax" value="1"/>
               <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>
             </form>
@@ -70,7 +71,7 @@
               </tr>
               <tr>
                 <td colspan="2">
-                  <input type="text" name="member_email"
+                  <input type="text" name="member_email" size="30"
                          placeholder="Email address" i18n:attributes="placeholder"
                          tal:attributes="value options/member_email|nothing"/>
                   <label>
@@ -83,7 +84,7 @@
               <tr id="login-row"
                   tal:attributes="class python:'hidden' if options['email_as_login'] else nothing">
                 <td colspan="2">
-                  <input type="text" name="member_id"
+                  <input type="text" name="member_id" size="30"
                          placeholder="login" i18n:attributes="placeholder"
                          tal:attributes="value options/member_id|nothing"/>
                 </td>
               <tbody tal:condition="not: options/validate_email" tal:omit-tag="">
                 <tr>
                   <td colspan="2">
-                    <input type="password" name="password"
+                    <input type="password" name="password" size="25"
                            placeholder="Password" i18n:attributes="placeholder"/>
                   </td>
                 </tr>
                 <tr>
                   <td colspan="2">
-                    <input type="password" name="confirm"
+                    <input type="password" name="confirm" size="25"
                            placeholder="Password (confirm)" i18n:attributes="placeholder"/>
                   </td>
                 </tr>
                 </td>
               </tr>
             </table>
+            <input type="hidden" name="came_from"
+                   tal:attributes="value options/came_from"/>
           </form>
           <script type="text/javascript">
             (function(){