Commit f95a8e45 authored by Calin Seciu's avatar Calin Seciu Committed by Rémy Coutable

Replace text field with textarea in 'New Tag' view and display tag message in `<pre>`

parent f96c34ec
......@@ -23,7 +23,7 @@
= label_tag :message, nil, class: 'control-label'
= text_field_tag :message, nil, required: false, tabindex: 3, class: 'form-control'
= text_area_tag :message, nil, required: false, tabindex: 3, class: 'form-control', rows: 5
.help-block Optionally, enter a message to create an annotated tag.
......@@ -19,14 +19,13 @@
- if @tag.message.present?
= strip_gpg_signature(@tag.message)
- if @commit
= render 'projects/branches/commit', commit: @commit, project: @project
- else
Cant find HEAD commit for this tag
- if @tag.message.present?
= strip_gpg_signature(@tag.message)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment