#898: remove "publish_i686_into_x86_64" field from #new and #create pages

This commit is contained in:
Vokhmin Alexey V 2013-02-07 15:47:50 +04:00
parent c9ce58bdbd
commit e0de8e7df4
1 changed files with 6 additions and 5 deletions

View File

@ -38,11 +38,12 @@
%span#niceCheckbox1.niceCheck-main= f.check_box :is_package
.forcheck= f.label :is_package
.both
#publish_form{:class => @project.publish_i686_into_x86_64 ? '' : 'hidden'}
.check
%span.niceCheck-main= f.check_box :publish_i686_into_x86_64
.forcheck= f.label :publish_i686_into_x86_64
.both
- unless [:new, :create].include? act
#publish_form{:class => @project.publish_i686_into_x86_64 ? '' : 'hidden'}
.check
%span.niceCheck-main= f.check_box :publish_i686_into_x86_64
.forcheck= f.label :publish_i686_into_x86_64
.both
.both
- if [:edit, :update].include? act