diff --git a/app/views/invite/_select_address_book.rhtml b/app/views/invite/_select_address_book.rhtml index 7344ef8..b7b2b61 100644 --- a/app/views/invite/_select_address_book.rhtml +++ b/app/views/invite/_select_address_book.rhtml @@ -1,4 +1,5 @@ -

<%= _('Step 1 of 2: Select address book') %>

+<% header ||='h2' %> +<<%= header %>><%= _('Step 1 of 2: Select address book') %>> <% form_tag do %> diff --git a/app/views/invite/invite_friends.rhtml b/app/views/invite/invite_friends.rhtml index 8375ebf..cbfd2bb 100644 --- a/app/views/invite/invite_friends.rhtml +++ b/app/views/invite/invite_friends.rhtml @@ -4,11 +4,9 @@

<%= _('Invite your friends to join %s') % profile.name %>

<% end %> -<%= render :partial => 'invite/select_address_book' %> - <% unless profile.person? %>

<%= _('Invite other registered users') %>

-

<%= _('You can also search for your friends\' profiles and invite them to join this community.') %>

+

<%= _('You can search for user profiles and invite them to join this community.') %>

<% form_tag :action => 'invite_registered_friend' do %> <% search_action = url_for(:action => 'search_friend') %> <%= token_input_field_tag(:q, 'search-friends', search_action, @@ -22,6 +20,13 @@ <%= button('cancel', _('Cancel'), profile.url)%> <% end %> <% end %> + +
+

<%= _('Invite people from my e-mail contacts') %>

+ <% header = 'h3' %> + <% end %> +<%= render :partial => 'invite/select_address_book', :locals => {:header => header} %> +
-- libgit2 0.21.2