gitlab-org--gitlab-foss/app/views/projects/releases/edit.html.haml

22 lines
962 B
Text
Raw Normal View History

2016-08-18 14:32:20 -04:00
- @no_container = true
- add_to_breadcrumbs "Tags", project_tags_path(@project)
- breadcrumb_title @tag.name
- page_title "Edit", @tag.name, "Tags"
2016-08-18 14:32:20 -04:00
%div{ class: container_class }
.sub-header-block.no-bottom-space
.oneline
.title
Release notes for tag
%strong= @tag.name
2016-08-18 14:32:20 -04:00
= form_for(@release, method: :put, url: project_tag_release_path(@project, @tag.name), html: { class: 'common-note-form release-form js-quick-submit' }) do |f|
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do
= render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: "Write your release notes or drag files here..."
2017-05-03 04:48:01 -04:00
= render 'shared/notes/hints'
.error-alert
2016-08-18 14:32:20 -04:00
.prepend-top-default
= f.submit 'Save changes', class: 'btn btn-save'
2018-05-10 15:22:56 -04:00
= link_to "Cancel", project_tag_path(@project, @tag.name), class: "btn btn-default btn-cancel"