summaryrefslogtreecommitdiff
path: root/app/views/projects/branches/new.html.haml
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-26 16:57:36 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-01 11:12:56 +0200
commit6294033024d311efa14a9400eb0b8815c702fc44 (patch)
tree0cb6a4797a341da9e270378c6ca72d0cbc663a1d /app/views/projects/branches/new.html.haml
parent88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff)
downloadgitlab-ce-6294033024d311efa14a9400eb0b8815c702fc44.tar.gz
Use button type=submit instead of input.
Diffstat (limited to 'app/views/projects/branches/new.html.haml')
-rw-r--r--app/views/projects/branches/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/new.html.haml b/app/views/projects/branches/new.html.haml
index 3f202f7ea6b..d2e307816bd 100644
--- a/app/views/projects/branches/new.html.haml
+++ b/app/views/projects/branches/new.html.haml
@@ -15,7 +15,7 @@
.col-sm-10
= text_field_tag :ref, params[:ref], placeholder: 'existing branch name, tag or commit SHA', required: true, tabindex: 2, class: 'form-control'
.form-actions
- = submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3
+ = button_tag 'Create branch', class: 'btn btn-create', tabindex: 3
= link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel'
:javascript