Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
c2c41fb2
Commit
c2c41fb2
authored
Sep 27, 2014
by
Robert Schilling
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7864 from cirosantilli/rm-default-type-submit
Remove type submit from button_tag since default.
parents
9345ca33
0cdef83d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
+1
-1
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+1
-1
No files found.
app/views/admin/users/index.html.haml
View file @
c2c41fb2
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
=
form_tag
admin_users_path
,
method: :get
,
class:
'form-inline'
do
=
form_tag
admin_users_path
,
method: :get
,
class:
'form-inline'
do
.form-group
.form-group
=
search_field_tag
:name
,
params
[
:name
],
placeholder:
'Name, email or username'
,
class:
'form-control'
=
search_field_tag
:name
,
params
[
:name
],
placeholder:
'Name, email or username'
,
class:
'form-control'
=
button_tag
type:
'submit'
,
class:
'btn btn-primary'
do
=
button_tag
class:
'btn btn-primary'
do
%i
.icon-search
%i
.icon-search
%hr
%hr
=
link_to
'Reset'
,
admin_users_path
,
class:
"btn btn-cancel"
=
link_to
'Reset'
,
admin_users_path
,
class:
"btn btn-cancel"
...
...
app/views/projects/network/show.html.haml
View file @
c2c41fb2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.controls
.controls
=
form_tag
project_network_path
(
@project
,
@id
),
method: :get
,
class:
'form-inline network-form'
do
|
f
|
=
form_tag
project_network_path
(
@project
,
@id
),
method: :get
,
class:
'form-inline network-form'
do
|
f
|
=
text_field_tag
:extended_sha1
,
@options
[
:extended_sha1
],
placeholder:
"Input an extended SHA1 syntax"
,
class:
'search-input form-control input-mx-250 search-sha'
=
text_field_tag
:extended_sha1
,
@options
[
:extended_sha1
],
placeholder:
"Input an extended SHA1 syntax"
,
class:
'search-input form-control input-mx-250 search-sha'
=
button_tag
type:
'submit'
,
class:
'btn btn-success btn-search-sha'
do
=
button_tag
class:
'btn btn-success btn-search-sha'
do
%i
.icon-search
%i
.icon-search
.inline.prepend-left-20
.inline.prepend-left-20
.checkbox.light
.checkbox.light
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment