Guest User

Untitled

a guest
May 23rd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. <div class="bub botbub rr">
  2. <div class="in">
  3. <h3><img src="/images/ohhello.png" alt="" /></h3>
  4. <% remote_form_for :user, :url=>signup_path, :id=>'signup-form' do |f| -%>
  5. <fieldset>
  6. <legend>C'mon!</legend>
  7. <p class="row">
  8. <label for="login"><img src="/images/name.png" alt="" /></label>
  9. <%= f.text_field :login, :class=>'l-name' %>
  10. </p>
  11. <p class="row">
  12. <label for="password"><img src="/images/word.png" alt="" /></label>
  13. <%= f.password_field :password, :class=>'l-word' %>
  14. </p>
  15. <p class="note">If you don't know any secret words, enter desired name and compose any then
  16. click the button to get automatically registered and get in! That's what we usually call usable!</p>
  17. <p class="last">
  18. <%= image_submit_tag "/images/cmon.png", :id=>'signup' %>
  19. </p>
  20. </fieldset>
  21. <% end -%>
  22. </div>
  23. </div>
  24. <div id="signup_confirm" style="display:none; cursor: default">
  25. <h1>Oh, you are new here. Want me to remember your face?</h1>
  26. <hr />
  27. <%= button_to 'Sure!', {:action=>'create'}, :id=>"signup_yes" %>
  28. <input type="button" id="signup_no" value="Oops, wrong name" />
  29. <% javascript_tag do -%>
  30. $('#signup_yes').click(function() {
  31. $.unblockUI();
  32. });
  33. $('#signup_no').click(function() {
  34. $.unblockUI();
  35. $('.l-name').focus();
  36. });
  37. <% end -%>
  38. </div>
Add Comment
Please, Sign In to add comment