diff --git a/app/views/platforms/mass_builds/new.html.slim b/app/views/platforms/mass_builds/new.html.slim index d752168d9..9224c2fd5 100644 --- a/app/views/platforms/mass_builds/new.html.slim +++ b/app/views/platforms/mass_builds/new.html.slim @@ -42,6 +42,13 @@ = arch.name - if @platform.personal? + = f.input :build_for_platform_id, + as: :select, + collection: availables_main_platforms, + label_method: :name, + value_method: :id, + include_blank: false + = render 'shared/autocomplete_form', field: :ExtraRepositories, placeholder: 'uxteam_personal', @@ -62,7 +69,9 @@ h3= t('activerecord.attributes.build_list.preferences') - = f.input :auto_publish_status, collection: auto_publish_statuses + = f.input :auto_publish_status, + collection: auto_publish_statuses, + include_blank: false - %i(auto_create_container increase_release_tag include_testing_subrepository use_cached_chroot use_extra_tests).each do |field| .checkbox diff --git a/config/locales/models/mass_build.en.yml b/config/locales/models/mass_build.en.yml index 22944d7ef..38190c095 100644 --- a/config/locales/models/mass_build.en.yml +++ b/config/locales/models/mass_build.en.yml @@ -45,7 +45,8 @@ en: simple_form: labels: mass_build: - description: Description + description: "Description" + build_for_platform_id: "Build for platform" placeholders: mass_build: description: Enter the description of mass build here. diff --git a/config/locales/models/mass_build.ru.yml b/config/locales/models/mass_build.ru.yml index 6286b435a..4a82c42d8 100644 --- a/config/locales/models/mass_build.ru.yml +++ b/config/locales/models/mass_build.ru.yml @@ -46,7 +46,8 @@ ru: simple_form: labels: mass_build: - description: Описание + description: "Описание" + build_for_platform_id: "Собрано для платформы" placeholders: mass_build: description: Введите описание массовой сборки здесь.