summaryrefslogtreecommitdiff
path: root/app/views/projects/tags/new.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-11-19 15:37:20 +0100
committerDouwe Maan <douwe@gitlab.com>2015-11-19 15:37:20 +0100
commit97842cea7409d80a3bf22f3ab8993a2ce3b02195 (patch)
treed1932d75d53a98912a91d53cc1ee779025b30101 /app/views/projects/tags/new.html.haml
parent347f136229b19994f2e52b936dc6136cde0c9133 (diff)
downloadgitlab-ce-97842cea7409d80a3bf22f3ab8993a2ce3b02195.tar.gz
Fix 'Attach a file' link in new tag formnew-tag-textarea
Diffstat (limited to 'app/views/projects/tags/new.html.haml')
-rw-r--r--app/views/projects/tags/new.html.haml13
1 files changed, 2 insertions, 11 deletions
diff --git a/app/views/projects/tags/new.html.haml b/app/views/projects/tags/new.html.haml
index e106be794f1..86aa15dc5b3 100644
--- a/app/views/projects/tags/new.html.haml
+++ b/app/views/projects/tags/new.html.haml
@@ -10,7 +10,7 @@
New git tag
%hr
-= form_tag namespace_project_tags_path, method: :post, id: "new-tag-form", class: "form-horizontal tag-form" do
+= form_tag namespace_project_tags_path, method: :post, id: "new-tag-form", class: "form-horizontal gfm-form tag-form" do
.form-group
= label_tag :tag_name, 'Name for new tag', class: 'control-label'
.col-sm-10
@@ -30,16 +30,7 @@
= label_tag :release_description, 'Release notes', class: 'control-label'
.col-sm-10
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
- .zennable
- %input#zen-toggle-comment.zen-toggle-comment(tabindex="-1" type="checkbox")
- .zen-backdrop
- = text_area_tag :release_description, nil, class: 'js-gfm-input markdown-area description js-quick-submit form-control', placeholder: ''
- %a.zen-enter-link(tabindex="-1" href="#")
- = icon('expand')
- Edit in fullscreen
- %a.zen-leave-link(href="#")
- = icon('compress')
-
+ = render 'projects/zen', attr: :release_description, classes: 'description js-quick-submit form-control'
= render 'projects/notes/hints'
.help-block (Optional) You can add release notes to your tag. It will be stored in the GitLab database and shown on the tags page
.form-actions