diaspora/app/views/invitations/new.html.haml
Juan Manuel Azambuja 1115e10536 Merge branch 'develop' into diaspora_with_sprites
Conflicts:
	Gemfile
	Gemfile.lock
	app/assets/stylesheets/application.css.sass
	app/assets/templates/comment_tpl.jst.hbs
	app/assets/templates/stream-element_tpl.jst.hbs
	app/helpers/aspects_helper.rb
	app/helpers/contacts_helper.rb
	app/views/aspects/_aspect_listings.haml
	app/views/aspects/toggle_contact_visibility.js.erb
	app/views/contacts/_aspect_listings.haml
	app/views/layouts/_header.html.haml
	app/views/shared/_footer.html.haml
	app/views/tags/_followed_tags_listings.haml
2013-03-11 20:10:55 -03:00

34 lines
965 B
Text

.span-15.last
.span-3
.icons-monotone_email_letter_round
.span-12.last
%h2
= t('.invite_someone_to_join')
%br
.span-7.append-1.last
%b= t('.paste_link')
%br
%br
= invite_link(@invite_code)
= t('.codes_left', :count => @invite_code.count)
%br
%br
#email_invitation
= form_tag new_user_invitation_path do
%h4
= t('email')
= text_field_tag 'email_inviter[emails]', @invalid_emails, :title => t('.comma_separated_plz'), :placeholder => 'foo@bar.com, max@foo.com...'
%p
= t('invitations.create.note_already_sent', :emails => @valid_emails) unless @valid_emails.empty?
%br
%h4
= t('.language')
= select_tag('email_inviter[locale]', options_from_collection_for_select(available_language_options, "second", "first", :selected => current_user.language))
%br
%p
= submit_tag t('.send_an_invitation')