From aab2d83d4825f7f4cdfd3c8ab745656cef7d56f9 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Wed, 21 Jan 2009 12:35:33 -0800 Subject: [PATCH] Update the value for the emapy project so it will set the default rate. #1923 --- lib/rate_users_helper_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rate_users_helper_patch.rb b/lib/rate_users_helper_patch.rb index 8001bad..d25a4de 100644 --- a/lib/rate_users_helper_patch.rb +++ b/lib/rate_users_helper_patch.rb @@ -19,7 +19,7 @@ module RateUsersHelperPatch # Similar to +project_options_for_select+ but allows selecting the active value def project_options_for_select_with_selected(projects, selected = nil) - options = content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---") + options = content_tag('option', "--- #{l(:rate_label_default)} ---", :value => '') projects_by_root = projects.group_by(&:root) projects_by_root.keys.sort.each do |root| options << content_tag('option', h(root.name), :value => root.id, :disabled => (!projects.include?(root)), :selected => root == selected)