Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="bub botbub rr">
- <div class="in">
- <h3><img src="/images/ohhello.png" alt="" /></h3>
- <% remote_form_for :user, :url=>signup_path, :id=>'signup-form' do |f| -%>
- <fieldset>
- <legend>C'mon!</legend>
- <p class="row">
- <label for="login"><img src="/images/name.png" alt="" /></label>
- <%= f.text_field :login, :class=>'l-name' %>
- </p>
- <p class="row">
- <label for="password"><img src="/images/word.png" alt="" /></label>
- <%= f.password_field :password, :class=>'l-word' %>
- </p>
- <p class="note">If you don't know any secret words, enter desired name and compose any then
- click the button to get automatically registered and get in! That's what we usually call usable!</p>
- <p class="last">
- <%= image_submit_tag "/images/cmon.png", :id=>'signup' %>
- </p>
- </fieldset>
- <% end -%>
- </div>
- </div>
- <div id="signup_confirm" style="display:none; cursor: default">
- <h1>Oh, you are new here. Want me to remember your face?</h1>
- <hr />
- <%= button_to 'Sure!', {:action=>'create'}, :id=>"signup_yes" %>
- <input type="button" id="signup_no" value="Oops, wrong name" />
- <% javascript_tag do -%>
- $('#signup_yes').click(function() {
- $.unblockUI();
- });
- $('#signup_no').click(function() {
- $.unblockUI();
- $('.l-name').focus();
- });
- <% end -%>
- </div>
Add Comment
Please, Sign In to add comment