diff --git a/app/views/invitations/edit.html.haml b/app/views/invitations/edit.html.haml deleted file mode 100644 index e208b613f..000000000 --- a/app/views/invitations/edit.html.haml +++ /dev/null @@ -1,47 +0,0 @@ -= javascript_include_tag "validation" -= javascript_tag "Diaspora.Page = 'InvitationsEdit';" - -.span-7.append-1.prepend-3 - %br - %br - %br - %br - %h1 - = t('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 - = diaspora_id_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' - diff --git a/app/views/invitations/edit.mobile.haml b/app/views/invitations/edit.mobile.haml deleted file mode 100644 index decfe4197..000000000 --- a/app/views/invitations/edit.mobile.haml +++ /dev/null @@ -1,26 +0,0 @@ --# Copyright (c) 2010-2011, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - - -#login_form - %h3 - = t('.your_account_awaits') - = 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 :email , t('email') - = f.text_field :email, :title => t('registrations.new.enter_email') - %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.create_my_account') - %br - = render :partial => "devise/shared/links"