BigW Consortium Gitlab

show.html.haml 613 Bytes
Newer Older
1 2 3
- page_title "CI Lint"
- page_description "Validate your GitLab CI configuration file"

4 5 6
%h2 Check your .gitlab-ci.yml
%hr

7 8 9
.row
  = form_tag ci_lint_path, method: :post do
    .form-group
10
      = label_tag(:content, 'Content of .gitlab-ci.yml', class: 'control-label text-nowrap')
11
      .col-sm-12
12
        = text_area_tag(:content, @content, class: 'form-control span1', rows: 7, require: true)
13 14
    .col-sm-12
      .pull-left.prepend-top-10
15
        = submit_tag('Validate', class: 'btn btn-success submit-yml')
16

17 18 19 20
.row.prepend-top-20
  .col-sm-12
    .results
      = render partial: 'create' if defined?(@status)