76ed2afcfc
Now it will work on any field inside that form, and it's easier to scope new behavior, which is what we're adding next!
19 lines
924 B
Text
19 lines
924 B
Text
- page_title "Edit", @tag.name, "Tags"
|
|
= render "projects/commits/header_title"
|
|
= render "projects/commits/head"
|
|
|
|
.gray-content-block
|
|
.oneline
|
|
.title
|
|
Release notes for tag
|
|
%strong #{@tag.name}
|
|
|
|
.prepend-top-default
|
|
= form_for(@release, method: :put, url: namespace_project_tag_release_path(@project.namespace, @project, @tag.name), html: { class: 'form-horizontal gfm-form release-form js-quick-submit' }) do |f|
|
|
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
|
|
= render 'projects/zen', f: f, attr: :description, classes: 'description form-control'
|
|
= render 'projects/notes/hints'
|
|
.error-alert
|
|
.form-actions.prepend-top-default
|
|
= 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"
|