summaryrefslogtreecommitdiff
path: root/app/views/admin/groups
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-28 12:11:15 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-28 12:11:15 +0200
commitb23b78ada12d1bbff4ea4e4bf65a34b223aeb8b4 (patch)
treec47f692238cae84ca14d7f8aea9c4fb943537db5 /app/views/admin/groups
parentbeabf5db8c9ea8393d25ff2c9b02510f31d88c12 (diff)
parent6294033024d311efa14a9400eb0b8815c702fc44 (diff)
downloadgitlab-ce-b23b78ada12d1bbff4ea4e4bf65a34b223aeb8b4.tar.gz
Merge pull request #7866 from cirosantilli/input-button-to-tag
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 09105679bd2..1d7fef43184 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 4494acc4842..8057de38805 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