Fix gitlab ci yml linter layout

This commit is contained in:
Clement Ho 2018-05-23 14:39:35 -05:00
parent aa443c16f6
commit ee16cf15ba

View file

@ -3,18 +3,17 @@
- content_for :library_javascripts do - content_for :library_javascripts do
= page_specific_javascript_tag('lib/ace.js') = page_specific_javascript_tag('lib/ace.js')
%h2 Check your .gitlab-ci.yml %h2.pt-3.pb-3 Check your .gitlab-ci.yml
.project-ci-linter .project-ci-linter
.row = form_tag project_ci_lint_path(@project), method: :post do
= form_tag project_ci_lint_path(@project), method: :post do .row
.form-group .col-sm-12
.col-sm-12 .file-holder
.file-holder .js-file-title.file-title.clearfix
.js-file-title.file-title.clearfix Content of .gitlab-ci.yml
Content of .gitlab-ci.yml #ci-editor.ci-editor= @content
#ci-editor.ci-editor= @content = text_area_tag(:content, @content, class: 'hidden form-control span1', rows: 7, require: true)
= text_area_tag(:content, @content, class: 'hidden form-control span1', rows: 7, require: true)
.col-sm-12 .col-sm-12
.float-left.prepend-top-10 .float-left.prepend-top-10
= submit_tag('Validate', class: 'btn btn-success submit-yml') = submit_tag('Validate', class: 'btn btn-success submit-yml')