edit.html.haml 982 字节
Newer Older
K
Kamil Trzcinski 已提交
1 2
- page_title "Edit", "#{@runner.description} ##{@runner.id}", "Runners"

D
Douwe Maan 已提交
3 4
%h4 Runner ##{@runner.id}
%hr
5
= form_for @runner, url: runner_path(@runner), html: { class: 'form-horizontal' } do |f|
D
Douwe Maan 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
  .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
      = f.text_field :tag_list, class: 'form-control'
      .help-block You can setup jobs to only use runners with specific tags
  .form-actions
    = f.submit 'Save', class: 'btn btn-save'