diaspora/app/views/invitations/edit.html.haml
2010-12-13 17:24:33 -08:00

47 lines
1.4 KiB
Text

= javascript_include_tag "validation"
:javascript
$(function() {
$('#user_new [title]').tipsy({trigger: 'focus', gravity: 'w'});
$("#user_username").focus();
});
.span-12
.floating{:style =>"margin-top:50px"}
%h3
= t('registrations.new.sign_up_for_diaspora')
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
%p
= f.label :username , t('username')
= f.text_field :username, :title => t('registrations.new.enter_username')
%p
= f.label :password , t('password')
= f.password_field :password, :title => t('registrations.new.enter_password')
%p
= f.label :password_confirmation , t('password_confirmation')
= f.password_field :password_confirmation, :title => t('registrations.new.enter_password_again')
= f.hidden_field :invitation_token
= f.submit t('registrations.new.sign_up')
%br
= render :partial => "devise/shared/links"
.span-10.prepend-2.last
.span-10.last
.info_pane
%h2
= t('home.show.choice')
%p
= t('home.show.choice_explanation')
.span-10.last
.info_pane
%h2
= t('home.show.ownership')
%p
= t('home.show.ownership_explanation')
.span-10.last
.info_pane
%h2
= t('home.show.simplicity')
%p
= t('home.show.simplicity_explanation')