Commit db283e2901103cb61105c667b8cd38968a74f05e

Authored by Larissa Reis
1 parent 4d58aa95

invite-members: fixes form_tag

app/views/invite/_select_address_book.html.erb
1 <% header ||='h2' %> 1 <% header ||='h2' %>
2 <<%= header %>><%= _('Step 1 of 2: Select address book') %></<%= header %>> 2 <<%= header %>><%= _('Step 1 of 2: Select address book') %></<%= header %>>
3 3
4 -<% form_tag do %> 4 +<%= form_tag do %>
5 5
6 <%= [ 6 <%= [
7 radio_button_tag(:import_from, "manual", @import_from == "manual", :onclick => 'hide_invite_friend_login_password()') + content_tag('label', _('Manually (empty field)'), :for => "import_from_manual"), 7 radio_button_tag(:import_from, "manual", @import_from == "manual", :onclick => 'hide_invite_friend_login_password()') + content_tag('label', _('Manually (empty field)'), :for => "import_from_manual"),
app/views/invite/invite_friends.html.erb
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <% unless profile.person? %> 7 <% unless profile.person? %>
8 <h2><%= _('Invite other registered users') %></h2> 8 <h2><%= _('Invite other registered users') %></h2>
9 <p><%= _('You can search for user profiles and invite them to join this community.') %></p> 9 <p><%= _('You can search for user profiles and invite them to join this community.') %></p>
10 - <% form_tag :action => 'invite_registered_friend' do %> 10 + <%= form_tag :action => 'invite_registered_friend' do %>
11 <% search_action = url_for(:action => 'search_friend') %> 11 <% search_action = url_for(:action => 'search_friend') %>
12 <%= token_input_field_tag(:q, 'search-friends', search_action, 12 <%= token_input_field_tag(:q, 'search-friends', search_action,
13 { :hint_text => _('Type in your friend\'s ') + search_friend_fields, 13 { :hint_text => _('Type in your friend\'s ') + search_friend_fields,