From 3f1d9c2cf57992723ab32287ba854d1e7b33d5f2 Mon Sep 17 00:00:00 2001 From: jwollert Date: Mon, 7 May 2012 15:51:34 +0200 Subject: [PATCH] build label for cost objects inside issue bulk edit form using rails' helpers instead of string concat --- app/views/hooks/_view_issues_bulk_edit_details_bottom.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/hooks/_view_issues_bulk_edit_details_bottom.rhtml b/app/views/hooks/_view_issues_bulk_edit_details_bottom.rhtml index 5d4e9a378c..64d2a2b834 100644 --- a/app/views/hooks/_view_issues_bulk_edit_details_bottom.rhtml +++ b/app/views/hooks/_view_issues_bulk_edit_details_bottom.rhtml @@ -4,5 +4,5 @@ content_tag('option', l(:label_none), :value => 'none') + options_from_collection_for_select(CostObject.find_all_by_project_id(@project.id, :order => 'subject ASC'), :id, :subject)) %> - <%= content_tag(:p, "" + myselect)%> + <%= content_tag :p, (content_tag "label", l(:field_cost_object), :for => 'cost_object_id') + myselect %> <% end %> \ No newline at end of file