I forgot to show how the _login.haml renders on the virgin run - here
goes:
<div id="documentcontent">
<form action="/account/ajax_login" method="post" onsubmit="new
Ajax.Updater({success:'documentcontent'}, '/account/ajax_login',
{asynchronous:true, evalScripts:true,
parameters:Form.serialize(this)}); return false;">
<label>Brugernavn</label>
<input autocomplete="off" id="login" name="login"
onfocus="new Effect.Highlight(this, { duration: 1.5 });" value=""
type="text">
<label>Adgangskode</label>
<input autocomplete="off" id="password" name="password"
onfocus="new Effect.Highlight(this, { duration: 1.5 });" value=""
type="password">
<button style="width: 100px;" type="submit">Login</button>
Du har opgivet en kombination af brugernavn og adgangskode,
som ikke kan genkendes! Prøv venligst igen!
</form>
</div>
It loads the <div id="documentcontent"> with a form - and everything
seems to be just "swell" ;)
That 'seemsling' is quickly cured - with a 'submit' :))
/Walther
On Jun 5, 7:13 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> Can you work this down to a minimal case (both in terms of Haml and Ruby
> code) that still exhibits this behavior?
>
> - Nathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---