Guest User

Untitled

a guest
Jul 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. =error_messages_for :account
  2. - semantic_form_for @account, :url => account_path do |f|
  3. - f.inputs "Account information" do
  4. =f.input :first_name, :input_html => {:size => nil}
  5. =f.input :last_name, :input_html => {:size => nil}
  6. =f.input :email, :input_html => {:size => nil}, :hint => "Your email will be used as your login for MMO Mumble."
  7. =f.input :password, :input_html => {:size => nil}, :hint => "Choose a secure password."
  8. =f.input :password_confirmation, :label => "Password (again)", :input_html => {:size => nil}
  9. - if @account.new_record?
  10. - f.inputs "Bot check" do
  11. =recaptcha_tags
  12.  
  13. - f.buttons do
  14. =f.commit_button :label => (@account.new_record? ? "Create my account" : "Update account")
Add Comment
Please, Sign In to add comment