From db283e2901103cb61105c667b8cd38968a74f05e Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Tue, 24 Jun 2014 21:40:29 -0300 Subject: [PATCH] invite-members: fixes form_tag --- app/views/invite/_select_address_book.html.erb | 2 +- app/views/invite/invite_friends.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/invite/_select_address_book.html.erb b/app/views/invite/_select_address_book.html.erb index b7b2b61..859603e 100644 --- a/app/views/invite/_select_address_book.html.erb +++ b/app/views/invite/_select_address_book.html.erb @@ -1,7 +1,7 @@ <% header ||='h2' %> <<%= header %>><%= _('Step 1 of 2: Select address book') %>> -<% form_tag do %> +<%= form_tag do %> <%= [ 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"), diff --git a/app/views/invite/invite_friends.html.erb b/app/views/invite/invite_friends.html.erb index 0234f31..c021d9e 100644 --- a/app/views/invite/invite_friends.html.erb +++ b/app/views/invite/invite_friends.html.erb @@ -7,7 +7,7 @@ <% unless profile.person? %>

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

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

- <% form_tag :action => 'invite_registered_friend' do %> + <%= 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, -- libgit2 0.21.2