summaryrefslogtreecommitdiff
path: root/app/views/projects/releases/edit.html.haml
blob: e7db09cdaa9153b3ec8957ce0950fb8993b9b4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- 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' }) 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 js-quick-submit'
      = render 'projects/notes/hints'
      .error-alert
      .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"