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
This commit is contained in:
Jean-Philippe Lang
2012-05-05 16:09:27 +00:00
parent 02f704bb01
commit ee8dcab9db
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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 %>