diff --git a/app/views/invite/invite_friends.html.erb b/app/views/invite/invite_friends.html.erb new file mode 100644 index 0000000..adfc91c --- /dev/null +++ b/app/views/invite/invite_friends.html.erb @@ -0,0 +1,30 @@ +<% if profile.person? %> +
<%= _('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, + { :hint_text => _('Type in your friend\'s ') + @search_friend_fields, + :focus => false }) %> + + <% button_bar do %> + <%= submit_button('save', _('Invite'))%> + <%= button('cancel', _('Cancel'), profile.url)%> + <% end %> + <% end %> + +<%= _('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, - { :hint_text => _('Type in your friend\'s ') + @search_friend_fields, - :focus => false }) %> - - <% button_bar do %> - <%= submit_button('save', _('Invite'))%> - <%= button('cancel', _('Cancel'), profile.url)%> - <% end %> - <% end %> - -