blob: 0044d779c316728fabe30495b6dfb74c0a590038 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
%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, @content, 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)
|