2016-08-18 14:32:20 -04:00
|
|
|
- @no_container = true
|
2017-08-18 12:19:23 -04:00
|
|
|
- add_to_breadcrumbs "Tags", project_tags_path(@project)
|
|
|
|
- breadcrumb_title @tag.name
|
2015-11-09 09:39:18 -05:00
|
|
|
- page_title "Edit", @tag.name, "Tags"
|
2015-11-05 06:15:25 -05:00
|
|
|
|
2016-08-18 14:32:20 -04:00
|
|
|
%div{ class: container_class }
|
|
|
|
.sub-header-block.no-bottom-space
|
|
|
|
.oneline
|
|
|
|
.title
|
|
|
|
Release notes for tag
|
2017-01-13 11:07:21 -05:00
|
|
|
%strong= @tag.name
|
2016-08-18 14:32:20 -04:00
|
|
|
|
2015-11-05 06:15:25 -05:00
|
|
|
|
2018-04-12 16:11:22 -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|
|
2016-11-16 06:09:09 -05:00
|
|
|
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do
|
2016-04-05 07:33:30 -04:00
|
|
|
= 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'
|
2016-04-05 07:33:30 -04:00
|
|
|
.error-alert
|
2016-08-18 14:32:20 -04:00
|
|
|
.prepend-top-default
|
2016-04-05 07:33:30 -04:00
|
|
|
= 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"
|