Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-26 18:57:36 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-01 13:12:56 +0400
commit6294033024d311efa14a9400eb0b8815c702fc44 (patch)
tree0cb6a4797a341da9e270378c6ca72d0cbc663a1d /app/views/projects/tags
parent88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff)
Use button type=submit instead of input.
Diffstat (limited to 'app/views/projects/tags')
-rw-r--r--app/views/projects/tags/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tags/new.html.haml b/app/views/projects/tags/new.html.haml
index 45ee61caf68..1c80e76ec7e 100644
--- a/app/views/projects/tags/new.html.haml
+++ b/app/views/projects/tags/new.html.haml
@@ -21,7 +21,7 @@
= text_field_tag :message, nil, placeholder: 'Enter message.', required: false, tabindex: 3, class: 'form-control'
.light (Optional) Entering a message will create an annotated tag.
.form-actions
- = submit_tag 'Create tag', class: 'btn btn-create', tabindex: 3
+ = button_tag 'Create tag', class: 'btn btn-create', tabindex: 3
= link_to 'Cancel', project_tags_path(@project), class: 'btn btn-cancel'
:javascript