diaspora/app/views/requests/_new_request_to_person.haml
2012-05-31 22:35:07 -07:00

11 lines
542 B
Text

-# 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')