]> source.dussan.org Git - redmine.git/commitdiff
Missing select name.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Oct 2016 10:16:58 +0000 (10:16 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Oct 2016 10:16:58 +0000 (10:16 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15931 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/my_helper.rb

index b3e4e02b7f2462639549a3d37a53e47b40d349cb..d8fe9f5ebfda69e3d8ffd0d63992b020b3b84920 100644 (file)
@@ -59,7 +59,7 @@ module MyHelper
     Redmine::MyPage.block_options.each do |label, block|
       options << content_tag('option', label, :value => block, :disabled => disabled.include?(block))
     end
-    content_tag('select', options, :id => "block-select")
+    select_tag('block', options, :id => "block-select")
   end
 
   def calendar_items(startdt, enddt)