summaryrefslogtreecommitdiff
path: root/app/views/admin/groups
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/admin/groups
parent88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff)
downloadgitlab-ce-6294033024d311efa14a9400eb0b8815c702fc44.tar.gz
Use button type=submit instead of input.
Diffstat (limited to 'app/views/admin/groups')
-rw-r--r--app/views/admin/groups/index.html.haml2
-rw-r--r--app/views/admin/groups/show.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/groups/index.html.haml b/app/views/admin/groups/index.html.haml
index 9a0d5967927..e83c667767f 100644
--- a/app/views/admin/groups/index.html.haml
+++ b/app/views/admin/groups/index.html.haml
@@ -10,7 +10,7 @@
= form_tag admin_groups_path, method: :get, class: 'form-inline' do
.form-group
= text_field_tag :name, params[:name], class: "form-control input-mn-300"
- = submit_tag "Search", class: "btn submit btn-primary"
+ = button_tag "Search", class: "btn submit btn-primary"
%hr
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml
index d59d2a23179..bb660e60bd2 100644
--- a/app/views/admin/groups/show.html.haml
+++ b/app/views/admin/groups/show.html.haml
@@ -64,7 +64,7 @@
%div.prepend-top-10
= select_tag :access_level, options_for_select(GroupMember.access_level_roles), class: "project-access-select select2"
%hr
- = submit_tag 'Add users into group', class: "btn btn-create"
+ = button_tag 'Add users into group', class: "btn btn-create"
.panel.panel-default
.panel-heading
%h3.panel-title