mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
12 lines
551 B
Plaintext
12 lines
551 B
Plaintext
= semantic_form_for resource, :as => resource_name, :url => update_user_confirmation_path, :html => {:method => 'put'}, :id => 'activation-form' do |f|
|
|
= devise_error_messages!
|
|
= field_set_tag "", :class => "inputs" do
|
|
%h3= "Account Activation for #{resource.email}"
|
|
%ol
|
|
- if @requires_password
|
|
= f.input :password, :label => 'Choose a Password'
|
|
= f.input :password_confirmation, :label => 'Confirm Password'
|
|
= hidden_field_tag :confirmation_token,@confirmation_token
|
|
= f.buttons do
|
|
= f.submit "Activate"
|