47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
= javascript_include_tag "validation"
|
|
= javascript_tag "Diaspora.Page = 'InvitationsEdit';"
|
|
|
|
.span-7.append-1.prepend-3
|
|
%br
|
|
%br
|
|
%br
|
|
%br
|
|
%h1
|
|
= t('users.getting_started.welcome')
|
|
%h3.accept_invitation_text
|
|
= t('.accept_your_invitation')
|
|
- flash.each do |name, msg|
|
|
%p{:class => "login_#{name}"}= msg
|
|
|
|
= image_tag 'diaspora_collage.png', :style => "margin-left:-50px;"
|
|
|
|
.span-10
|
|
%br
|
|
%br
|
|
%br
|
|
%br
|
|
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put, :class => 'accept_invitation_form'}, :validate => true) do |f|
|
|
%fieldset
|
|
.clearfix
|
|
%b
|
|
= t('username')
|
|
= f.text_field :username, :title => t('registrations.new.enter_username')
|
|
%span.host_uri
|
|
= "@#{AppConfig[:pod_uri].host}"
|
|
.clearfix
|
|
%b
|
|
= t('email')
|
|
= f.email_field :email, :title => t('registrations.new.enter_email')
|
|
.clearfix
|
|
%b
|
|
= t('password')
|
|
= f.password_field :password, :title => t('registrations.new.enter_password')
|
|
.clearfix
|
|
%b
|
|
= t('password_confirmation')
|
|
= f.password_field :password_confirmation, :title => t('registrations.new.enter_password_again')
|
|
= f.hidden_field :invitation_token
|
|
|
|
.submit_field
|
|
= f.submit t('registrations.new.create_my_account'), :class => 'in_aspects'
|
|
|