Fixed auto_publish field on /build_lists/new

This commit is contained in:
Vokhmin Alexey V 2013-08-16 17:18:08 +04:00
parent 101d0665a8
commit 13cfab3d91
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
- [:auto_publish, :auto_create_container].each do |kind| - [:auto_publish, :auto_create_container].each do |kind|
.both .both
- checked, field = params[:build_list].try(:[], kind), "build_list[#{kind}]" - 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 = check_box_tag field, true, checked
= f.label kind = f.label kind
%br %br