diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-05 14:33:30 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-14 12:28:05 +0300 |
commit | 3de09d1475db3d23f839991e57d16e00bff07cb4 (patch) | |
tree | 68791ec7390d7fcf83df6867b529ef187b397ca5 /app/views/projects/releases | |
parent | d67c3e35c98cff2372db803f93a97a60aa8b4104 (diff) |
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.haml | 12 |
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" |