@@ -37,7 +37,7 module WorkflowsHelper | |||||
37 | if multiple |
|
37 | if multiple | |
38 | all_tag_options.merge!(:style => "display:none;") |
|
38 | all_tag_options.merge!(:style => "display:none;") | |
39 | end |
|
39 | end | |
40 |
option_tags << content_tag('option', |
|
40 | option_tags << content_tag('option', l(:label_all), all_tag_options) | |
41 | option_tags << options_from_collection_for_select(objects, "id", "name", selected) |
|
41 | option_tags << options_from_collection_for_select(objects, "id", "name", selected) | |
42 | select_tag name, option_tags, {:multiple => multiple}.merge(options) |
|
42 | select_tag name, option_tags, {:multiple => multiple}.merge(options) | |
43 | end |
|
43 | end | |
@@ -85,7 +85,11 module WorkflowsHelper | |||||
85 | :class => "old-status-#{old_status.id} new-status-#{new_status.id}") |
|
85 | :class => "old-status-#{old_status.id} new-status-#{new_status.id}") | |
86 | else |
|
86 | else | |
87 | select_tag tag_name, |
|
87 | select_tag tag_name, | |
88 | options_for_select([["Oui", "1"], ["Non", "0"], [l(:label_no_change_option), "no_change"]], "no_change") |
|
88 | options_for_select([ | |
|
89 | [l(:general_text_Yes), "1"], | |||
|
90 | [l(:general_text_No), "0"], | |||
|
91 | [l(:label_no_change_option), "no_change"] | |||
|
92 | ], "no_change") | |||
89 | end |
|
93 | end | |
90 | end |
|
94 | end | |
91 | end |
|
95 | end |
General Comments 0
You need to be logged in to leave comments.
Login now