From 13cfab3d918b3babe60d8355db39ff9a20a6cd96 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 16 Aug 2013 17:18:08 +0400 Subject: [PATCH] Fixed auto_publish field on /build_lists/new --- app/views/projects/build_lists/_new_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/build_lists/_new_form.html.haml b/app/views/projects/build_lists/_new_form.html.haml index 7c92bb504..cd7355a12 100644 --- a/app/views/projects/build_lists/_new_form.html.haml +++ b/app/views/projects/build_lists/_new_form.html.haml @@ -40,7 +40,7 @@ - [:auto_publish, :auto_create_container].each do |kind| .both - checked, field = params[:build_list].try(:[], kind), "build_list[#{kind}]" - = hidden_field_tag field, false + = hidden_field_tag field, false, :id => nil = check_box_tag field, true, checked = f.label kind %br