diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-26 18:57:36 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-01 13:12:56 +0400 |
commit | 6294033024d311efa14a9400eb0b8815c702fc44 (patch) | |
tree | 0cb6a4797a341da9e270378c6ca72d0cbc663a1d /app/views/projects/branches/new.html.haml | |
parent | 88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff) |
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.haml | 2 |
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 |