Commit ee16cf15 authored by Clement Ho's avatar Clement Ho

Fix gitlab ci yml linter layout

parent aa443c16
...@@ -3,18 +3,17 @@ ...@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment