mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
This removes `remote: true` from CI Lint form, making it synchronous form. This also removes some complexity related to displaying lint messages. View also has been updated, removed deprecated Bootstrap 2 tags. Improved design. Closes #4206
18 lines
517 B
Plaintext
18 lines
517 B
Plaintext
%h2 Check your .gitlab-ci.yml
|
|
%hr
|
|
|
|
.row
|
|
= form_tag ci_lint_path, method: :post do
|
|
.form-group
|
|
= label_tag :content, 'Content of .gitlab-ci.yml', class: 'control-label text-nowrap'
|
|
.col-sm-12
|
|
= text_area_tag :content, nil, class: 'form-control span1', rows: 7, require: true
|
|
.col-sm-12
|
|
.pull-left.prepend-top-10
|
|
= submit_tag 'Validate', class: 'btn btn-success submit-yml'
|
|
|
|
.row.prepend-top-20
|
|
.col-sm-12
|
|
.results
|
|
= render partial: 'create' if defined?(@status)
|