2016-08-18 14:32:20 -04:00
|
|
|
- @no_container = true
|
2015-11-09 09:39:18 -05:00
|
|
|
- page_title "Edit", @tag.name, "Tags"
|
2015-11-05 06:15:25 -05:00
|
|
|
= render "projects/commits/head"
|
|
|
|
|
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}
|
|
|
|
|
2015-11-05 06:15:25 -05:00
|
|
|
|
2016-04-05 07:33:30 -04:00
|
|
|
= 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-05 06:15:25 -05:00
|
|
|
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", 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..."
|
2015-11-05 06:15:25 -05:00
|
|
|
= render 'projects/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'
|
|
|
|
= link_to "Cancel", namespace_project_tag_path(@project.namespace, @project, @tag.name), class: "btn btn-default btn-cancel"
|