This commit is contained in:
albert
2012-01-07 22:09:00 -05:00
parent ef71a31de8
commit ce4eca2179
2 changed files with 3 additions and 3 deletions

View File

@@ -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("&ndash;", new_user_feedback_path(:user_record => {:category => "negative", :user_id => user.id})) + "]"

View File

@@ -2,10 +2,10 @@
<div id="a-new">
<h1>New Invitation</h1>
<%= form_tag(moderator_invitations_path) do %>
<%= form_tag(moderator_invitations_path, :class => "simple_form") do %>
<div class="input">
<label>User</label>
<%= text_field :invitation, :user_name %>
<%= text_field :invitation, :user_name, :value => params[:invitation][:name] %>
</div>
<div class="input">