Hey yeah there are actually I think a few things going wrong.  I think
for one thing the usually identiy validator would have removed the
user_name, password and login fields from original_parameters.items()
so they wouldn't be stacking up.  Also when you put the text there I
think the css is putting it over the button.  If you hit enter or tab
to the button and hit enter the page will still submit even though it
gives off the appearance that you can't click the button.  So all in
all that page is meant to be used with the frameworks identity
mechanism and its not a bug it just needs more tweaking to work the way
you want it to.  You can adjust it to work with your example as
follows:

Move the line:
            <p>${exception}</p>
Outside of the div with id="loginBox" like this.

And then change the line:
            <input py:for="name,value in original_parameters.items()"
                type="hidden" name="${name}" value="${value}"/>
To this:
            <input py:for="name,value in original_parameters.items()"
py:if="name not in ['user_name', 'password', 'login']"
                type="hidden" name="${name}" value="${value}"/>
This will prevent the login, user_name and password fields from
stacking up.

-Ian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to