2015-02-10 22:08:39 +00:00
|
|
|
- set_meta_tags title: t('.title')
|
|
|
|
= render 'users/base/submenu'
|
|
|
|
|
|
|
|
|
2015-02-11 23:19:33 +00:00
|
|
|
.container.col-md-offset-1.col-md-10
|
2015-02-10 22:08:39 +00:00
|
|
|
.row
|
|
|
|
= simple_form_for @user.builds_setting,
|
|
|
|
url: builds_settings_settings_path,
|
2015-02-10 22:35:12 +00:00
|
|
|
wrapper: :horizontal_form do |f|
|
2015-02-10 22:08:39 +00:00
|
|
|
|
|
|
|
fieldset
|
|
|
|
legend
|
|
|
|
= t('.heading')
|
|
|
|
|
|
|
|
.row
|
|
|
|
.col-sm-4
|
2015-02-11 23:19:33 +00:00
|
|
|
.form-group
|
|
|
|
= f.label :platforms
|
|
|
|
= f.hint :platforms
|
|
|
|
= f.collection_check_boxes :platforms,
|
|
|
|
availables_main_platforms, :id, :name,
|
|
|
|
checked: @user.builds_setting.platforms,
|
|
|
|
item_wrapper_tag: :div,
|
|
|
|
item_wrapper_class: 'loffset10 checkbox' do |b|
|
|
|
|
= b.check_box + b.text
|
2015-02-10 22:08:39 +00:00
|
|
|
|
|
|
|
.col-sm-8
|
|
|
|
= f.input :external_nodes, collection: external_nodes, include_blank: true
|
|
|
|
|
|
|
|
.clearfix
|
|
|
|
hr
|
|
|
|
= submit_button_tag
|
|
|
|
|