debian-mirror-gitlab/app/views/projects/releases/edit.html.haml

21 lines
980 B
Text
Raw Normal View History

2016-09-13 17:45:13 +05:30
- @no_container = true
2015-11-26 14:37:03 +05:30
- page_title "Edit", @tag.name, "Tags"
= render "projects/commits/head"
2016-09-13 17:45:13 +05:30
%div{ class: container_class }
.sub-header-block.no-bottom-space
.oneline
.title
Release notes for tag
%strong #{@tag.name}
2015-11-26 14:37:03 +05:30
2016-06-02 11:05:42 +05:30
= 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|
2015-11-26 14:37:03 +05:30
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
2016-06-02 11:05:42 +05:30
= render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: "Write your release notes or drag files here..."
2015-11-26 14:37:03 +05:30
= render 'projects/notes/hints'
2016-06-02 11:05:42 +05:30
.error-alert
2016-09-13 17:45:13 +05:30
.prepend-top-default
2016-06-02 11:05:42 +05:30
= 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"