[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/pas/browser/loginform.pt minor change geting camefrom from request

robert rottermann robert at redcor.ch
Wed Oct 13 12:47:41 EDT 2004


Log message for revision 28106:
  minor change geting camefrom from request

Changed:
  U   Zope3/trunk/src/zope/app/pas/browser/loginform.pt

-=-
Modified: Zope3/trunk/src/zope/app/pas/browser/loginform.pt
===================================================================
--- Zope3/trunk/src/zope/app/pas/browser/loginform.pt	2004-10-13 16:30:18 UTC (rev 28105)
+++ Zope3/trunk/src/zope/app/pas/browser/loginform.pt	2004-10-13 16:47:39 UTC (rev 28106)
@@ -5,13 +5,13 @@
   </title>
 </head>
 <body><div metal:fill-slot="body">
-    <div tal:omit-tag="" 
-        tal:define="principal python:request.principal.id" 
-        tal:condition="python:principal != 'zope.anybody'">
-        <span tal:define="dummy python:request.response.redirect(request['camefrom'])" />
-    </div>
     <p i18n:translate="">Please provide Login Information</p>
     <form action="" method="post">
+        <div tal:omit-tag="" 
+            tal:define="principal python:request.principal.id" 
+            tal:condition="python:principal != 'zope.anybody'">
+            <span tal:define="dummy python:request.response.redirect(request.get('camefrom', ''))" />
+        </div>
         <div class="row">
             <div class="label" i18n:translate="">User Name</div>
             <div class="field">



More information about the Zope3-Checkins mailing list