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

24 lines
1 KiB
Text
Raw Normal View History

2016-09-13 17:45:13 +05:30
- @no_container = true
2018-03-17 18:26:18 +05:30
- add_to_breadcrumbs "Tags", project_tags_path(@project)
- breadcrumb_title @tag.name
2015-11-26 14:37:03 +05:30
- page_title "Edit", @tag.name, "Tags"
2016-09-13 17:45:13 +05:30
%div{ class: container_class }
.sub-header-block.no-bottom-space
.oneline
.title
Release notes for tag
2017-08-17 22:00:37 +05:30
%strong= @tag.name
2016-09-13 17:45:13 +05:30
2015-11-26 14:37:03 +05:30
2018-11-08 19:23:39 +05:30
= form_for(@release, method: :put, url: project_tag_release_path(@project, @tag.name),
html: { class: 'common-note-form release-form js-quick-submit' },
data: { markdown_version: @release.cached_markdown_version }) do |f|
2017-08-17 22:00:37 +05:30
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do
2018-11-08 19:23:39 +05:30
= render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: "Write your release notes or drag files here…"
2017-08-17 22:00:37 +05:30
= render 'shared/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'
2017-09-10 17:25:29 +05:30
= link_to "Cancel", project_tag_path(@project, @tag.name), class: "btn btn-default btn-cancel"