diaspora/app/views/invitations/edit.html.haml
2010-12-02 02:22:05 +03:00

17 lines
521 B
Text

%script{:type => "text/javascript",
:src => "/javascripts/validation.js"}
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
%p
= f.label :username
= f.text_field :username
%p
= f.label :password
= f.password_field :password
%p
= f.label :password_confirmation
= f.password_field :password_confirmation
= f.hidden_field :invitation_token
= f.submit t('.sign_up')
= render :partial => "devise/shared/links"