1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/app/views/admin/confirmations/show.html.haml
2011-10-10 15:39:52 +01:00

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"