Guest User

Untitled

a guest
May 4th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <div id="login">
  2.  
  3.  
  4. <form action="/main/login" method="POST" onsubmit="new Ajax.Updater({success:'login',failure:'errorBox'}, '/main/login', {asynchronous:true, evalScripts:true, onFailure:function(request){new Effect.Parallel([new Effect.Appear("errorBox",{duration:0.25}),new Effect.Highlight("errorDialog",{duration:0.5})], {})}, onSuccess:function(request){new Effect.Parallel([new Effect.Fade("errorBox",{duration:0.25}),new Effect.Fade("loginbox",{duration:0.25}),new Effect.Morph("login",{})], {})}, parameters:Form.serialize(this)}); return false;">
  5.  
  6. <p><label for="username" class="labelLogin">Username:</label><input id="username" name="username" type="text"></p><br>
  7. <p><label for="password" class="labelLogin">Password:</label><input id="password" name="password" type="password"></p><br>
  8.  
  9. <p class="submit"><input type="submit" value="Login"></p><br>
  10.  
  11. </form>
  12.  
  13.  
  14. </div>
Add Comment
Please, Sign In to add comment