fixing tests

This commit is contained in:
albert
2011-07-16 19:20:02 -04:00
parent 7d80057e20
commit 58c3d2af13
49 changed files with 896 additions and 488 deletions

View File

@@ -0,0 +1,17 @@
module Moderator
module DashboardsHelper
def user_level_select_tag(name, options = {})
choices = [
["", ""],
["Member", 0],
["Privileged", 100],
["Contributor", 200],
["Janitor", 300],
["Moderator", 400],
["Admin", 500]
]
select_tag(name, options_for_select(choices, params[name].to_i), options)
end
end
end