Fixed auto_publish field on /build_lists/new
This commit is contained in:
parent
101d0665a8
commit
13cfab3d91
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue