diff --git a/app/views/requests/_new_request_to_person.haml b/app/views/requests/_new_request_to_person.haml deleted file mode 100644 index 31a75df78..000000000 --- a/app/views/requests/_new_request_to_person.haml +++ /dev/null @@ -1,11 +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. - -%div{:id => destination_handle} - = form_for(Request.new, :remote => true ) do |request| - = request.select(:into, options_from_collection_for_select(aspects, "id", "name")) - = request.hidden_field :to, :value => destination_handle - = request.submit t('people.person.add_contact'), 'data-disable-with' => t('requests.create.sending') - .message.hidden - %i= t('.sent') diff --git a/app/views/requests/_new_request_with_aspect_to_person.haml b/app/views/requests/_new_request_with_aspect_to_person.haml deleted file mode 100644 index 2edeb9f76..000000000 --- a/app/views/requests/_new_request_with_aspect_to_person.haml +++ /dev/null @@ -1,11 +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. - -%div{:id => destination_handle} - = form_for Request.new, :remote => true do |request| - = request.hidden_field :into, :value => "changeme" - = request.hidden_field :to, :value => destination_handle - = request.submit '+', :class => 'add', 'data-disable-with' => t('requests.create.sending') - .message.hidden - %i= t('requests.new_request_to_person.sent')