summaryrefslogtreecommitdiff
path: root/app/views/projects/releases
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-05 12:33:30 +0100
committerPhil Hughes <me@iamphill.com>2016-04-14 10:28:05 +0100
commit3de09d1475db3d23f839991e57d16e00bff07cb4 (patch)
tree68791ec7390d7fcf83df6867b529ef187b397ca5 /app/views/projects/releases
parentd67c3e35c98cff2372db803f93a97a60aa8b4104 (diff)
downloadgitlab-ce-3de09d1475db3d23f839991e57d16e00bff07cb4.tar.gz
Updated all GFM forms to use new GLForm class
Diffstat (limited to 'app/views/projects/releases')
-rw-r--r--app/views/projects/releases/edit.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/releases/edit.html.haml b/app/views/projects/releases/edit.html.haml
index c4a3f06ee06..6f0b32aa165 100644
--- a/app/views/projects/releases/edit.html.haml
+++ b/app/views/projects/releases/edit.html.haml
@@ -9,11 +9,11 @@
%strong #{@tag.name}
.prepend-top-default
- = form_for(@release, method: :put, url: namespace_project_tag_release_path(@project.namespace, @project, @tag.name), html: { class: 'form-horizontal gfm-form release-form js-quick-submit' }) do |f|
+ = form_for(@release, method: :put, url: namespace_project_tag_release_path(@project.namespace, @project, @tag.name), html: { class: 'form-horizontal common-note-form release-form js-quick-submit' }) do |f|
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
- = render 'projects/zen', f: f, attr: :description, classes: 'description form-control'
+ = render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: "Write your release notes or drag files here..."
= render 'projects/notes/hints'
- .error-alert
- .form-actions.prepend-top-default
- = f.submit 'Save changes', class: 'btn btn-save'
- = link_to "Cancel", namespace_project_tag_path(@project.namespace, @project, @tag.name), class: "btn btn-default btn-cancel"
+ .error-alert
+ .form-actions.prepend-top-default
+ = f.submit 'Save changes', class: 'btn btn-save'
+ = link_to "Cancel", namespace_project_tag_path(@project.namespace, @project, @tag.name), class: "btn btn-default btn-cancel"