2015-08-25 21:42:46 -04:00
|
|
|
%h2 Check your .gitlab-ci.yml
|
|
|
|
%hr
|
|
|
|
|
2015-12-22 03:40:32 -05:00
|
|
|
.row
|
|
|
|
= form_tag ci_lint_path, method: :post do
|
|
|
|
.form-group
|
2016-01-11 07:34:12 -05:00
|
|
|
= label_tag(:content, 'Content of .gitlab-ci.yml', class: 'control-label text-nowrap')
|
2015-12-22 03:40:32 -05:00
|
|
|
.col-sm-12
|
2016-01-11 07:34:12 -05:00
|
|
|
= text_area_tag(:content, @content, class: 'form-control span1', rows: 7, require: true)
|
2015-12-22 03:40:32 -05:00
|
|
|
.col-sm-12
|
|
|
|
.pull-left.prepend-top-10
|
2016-01-11 07:34:12 -05:00
|
|
|
= submit_tag('Validate', class: 'btn btn-success submit-yml')
|
2015-08-25 21:42:46 -04:00
|
|
|
|
2015-12-22 03:40:32 -05:00
|
|
|
.row.prepend-top-20
|
|
|
|
.col-sm-12
|
|
|
|
.results
|
|
|
|
= render partial: 'create' if defined?(@status)
|