2015-11-03 05:44:07 -05:00
|
|
|
- page_title "Edit", "#{@runner.description} ##{@runner.id}", "Runners"
|
|
|
|
|
2015-08-25 21:42:46 -04:00
|
|
|
%h4 Runner ##{@runner.id}
|
|
|
|
%hr
|
2015-09-25 12:03:41 -04:00
|
|
|
= form_for @runner, url: runner_path(@runner), html: { class: 'form-horizontal' } do |f|
|
2015-08-25 21:42:46 -04:00
|
|
|
.form-group
|
|
|
|
= label :active, "Active", class: 'control-label'
|
|
|
|
.col-sm-10
|
|
|
|
.checkbox
|
|
|
|
= f.check_box :active
|
|
|
|
%span.light Paused runners don't accept new builds
|
|
|
|
.form-group
|
|
|
|
= label_tag :token, class: 'control-label' do
|
|
|
|
Token
|
|
|
|
.col-sm-10
|
|
|
|
= f.text_field :token, class: 'form-control', readonly: true
|
|
|
|
.form-group
|
|
|
|
= label_tag :description, class: 'control-label' do
|
|
|
|
Description
|
|
|
|
.col-sm-10
|
|
|
|
= f.text_field :description, class: 'form-control'
|
|
|
|
.form-group
|
|
|
|
= label_tag :tag_list, class: 'control-label' do
|
|
|
|
Tags
|
|
|
|
.col-sm-10
|
2015-11-30 09:12:31 -05:00
|
|
|
= f.text_field :tag_list, value: @runner.tag_list.to_s, class: 'form-control'
|
2015-08-25 21:42:46 -04:00
|
|
|
.help-block You can setup jobs to only use runners with specific tags
|
|
|
|
.form-actions
|
2015-12-02 08:33:14 -05:00
|
|
|
= f.submit 'Save changes', class: 'btn btn-save'
|