diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 711ac170d..6def81bfb 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -50,7 +50,7 @@ module ApplicationHelper html << " [" + link_to("+", new_user_feedback_path(:user_record => {:category => "positive"})) + "]" unless user.is_privileged? - html << " [" + link_to("invite", moderator_invitations_path(:invitation => {:name => user.name, :level => User::Levels::CONTRIBUTOR})) + "]" + html << " [" + link_to("invite", new_moderator_invitations_path(:invitation => {:name => user.name, :level => User::Levels::CONTRIBUTOR})) + "]" end else html << " [" + link_to("–", new_user_feedback_path(:user_record => {:category => "negative", :user_id => user.id})) + "]" diff --git a/app/views/moderator/invitations/new.html.erb b/app/views/moderator/invitations/new.html.erb index 4fb866ad7..2ef888aa0 100644 --- a/app/views/moderator/invitations/new.html.erb +++ b/app/views/moderator/invitations/new.html.erb @@ -2,10 +2,10 @@

New Invitation

- <%= form_tag(moderator_invitations_path) do %> + <%= form_tag(moderator_invitations_path, :class => "simple_form") do %>
- <%= text_field :invitation, :user_name %> + <%= text_field :invitation, :user_name, :value => params[:invitation][:name] %>