[#242] fix mistype

This commit is contained in:
Alexander Machehin 2013-08-08 21:24:12 +06:00
parent 058ac32cc5
commit 8b4f3eebe6
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
= check_box_tag "arches[]", arch.id, checked, :id => "arches_#{arch.id}"
= label_tag "arches_#{arch.id}", arch.name
%h3= t('activerecord.attributes.build_list.update_type')
- selected = params[:build_list].try(:fetch, :update_type) ? {:selected => params[:build_list][:update_version]} : {}
- selected = params[:build_list].try(:[], :update_type) ? {:selected => params[:build_list][:update_type]} : {}
.lineForm= f.select :update_type, BuildList::UPDATE_TYPES, selected
= render 'shared/autocomplete_form',