diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-16 02:06:30 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-20 14:48:28 -0500 |
commit | 5d12189296e173616ee980c60943680ed2d7d061 (patch) | |
tree | 0351ee836ce103a8b2422caeaa56cf115072acf2 /app/views/projects | |
parent | 620d014aefd23030ed6ae043e223ccc5dc52fc8a (diff) | |
download | gitlab-ce-5d12189296e173616ee980c60943680ed2d7d061.tar.gz |
Add GitLab CI Yml dropdown selector
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/blob/_editor.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml index ae89637df60..29c7d45074a 100644 --- a/app/views/projects/blob/_editor.html.haml +++ b/app/views/projects/blob/_editor.html.haml @@ -17,6 +17,8 @@ = dropdown_tag("Choose a License template", options: { toggle_class: 'js-license-selector', title: "Choose a license", filter: true, placeholder: "Filter", data: { data: licenses_for_select, project: @project.name, fullname: @project.namespace.human_name } } ) .gitignore-selector.js-gitignore-selector-wrap.hidden = dropdown_tag("Choose a .gitignore template", options: { toggle_class: 'js-gitignore-selector', title: "Choose a template", filter: true, placeholder: "Filter", data: { data: gitignore_names } } ) + .gitlab-ci-yml-selector.js-gitlab-ci-yml-selector-wrap.hidden + = dropdown_tag("Choose a GitLab CI Yaml template", options: { toggle_class: 'js-gitlab-ci-yml-selector', title: "Choose a template", filter: true, placeholder: "Filter", data: { data: gitlab_ci_ymls } } ) .encoding-selector = select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'select2' |