summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-05 16:09:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-05 16:09:27 +0000
commitee8dcab9db0ad3bb3818051b7a1fd5211b9cdf0d (patch)
tree6c8b02e482762169e18d56f85f6b37e582af91fd /app/views/timelog
parent02f704bb01a2d2bc273cab69c7f3047177ac72d4 (diff)
downloadredmine-ee8dcab9db0ad3bb3818051b7a1fd5211b9cdf0d.tar.gz
redmine-ee8dcab9db0ad3bb3818051b7a1fd5211b9cdf0d.zip
Fixed that activities option tags on the time entry bulk edit form are escaped.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9643 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/bulk_edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/bulk_edit.html.erb b/app/views/timelog/bulk_edit.html.erb
index dc0bd92f3..f1d4ed979 100644
--- a/app/views/timelog/bulk_edit.html.erb
+++ b/app/views/timelog/bulk_edit.html.erb
@@ -29,7 +29,7 @@
<% if @available_activities.any? %>
<p>
<label><%= l(:field_activity) %></label>
- <%= select_tag('time_entry[activity_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_activities, :id, :name)) %>
+ <%= select_tag('time_entry[activity_id]', content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(@available_activities, :id, :name)) %>
</p>
<% end %>