fix. ajustement.
[Plinn.git] / Products / Plinn / skins / custom_generic / join_template.pt
index d5deaca..a53a6cc 100644 (file)
@@ -30,6 +30,7 @@
             <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>
@@ -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>
                 </td>
               </tr>
             </table>
+            <input type="hidden" name="came_from"
+                   tal:attributes="value options/came_from"/>
           </form>
           <script type="text/javascript">
             (function(){