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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d66f6922
Commit
d66f6922
authored
Aug 24, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1284 from jouve/fix-inline-forms
fix inline forms
parents
46923d1a
e2f19bef
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
5 deletions
+6
-5
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+1
-0
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+1
-1
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+1
-1
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
+1
-1
app/views/hooks/index.html.haml
app/views/hooks/index.html.haml
+1
-1
app/views/search/show.html.haml
app/views/search/show.html.haml
+1
-1
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
d66f6922
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
.btn
{
.btn
{
padding
:
6px
;
padding
:
6px
;
margin-left
:
10px
;
margin-left
:
10px
;
margin-bottom
:
8px
;
}
}
}
}
}
}
app/views/admin/hooks/index.html.haml
View file @
d66f6922
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
Read more about system hooks
Read more about system hooks
%strong
#{
link_to
"here"
,
help_system_hooks_path
,
class:
"vlink"
}
%strong
#{
link_to
"here"
,
help_system_hooks_path
,
class:
"vlink"
}
=
form_for
@hook
,
as: :hook
,
url:
admin_hooks_path
do
|
f
|
=
form_for
@hook
,
as: :hook
,
url:
admin_hooks_path
,
html:
{
class:
'form-inline'
}
do
|
f
|
-
if
@hook
.
errors
.
any?
-
if
@hook
.
errors
.
any?
.alert-message.block-message.error
.alert-message.block-message.error
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
...
...
app/views/admin/projects/index.html.haml
View file @
d66f6922
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
Projects
Projects
=
link_to
'New Project'
,
new_admin_project_path
,
class:
"btn small right"
=
link_to
'New Project'
,
new_admin_project_path
,
class:
"btn small right"
%br
%br
=
form_tag
admin_projects_path
,
method: :get
do
=
form_tag
admin_projects_path
,
method: :get
,
class:
'form-inline'
do
=
text_field_tag
:name
,
params
[
:name
],
class:
"xlarge"
=
text_field_tag
:name
,
params
[
:name
],
class:
"xlarge"
=
submit_tag
"Search"
,
class:
"btn submit primary"
=
submit_tag
"Search"
,
class:
"btn submit primary"
...
...
app/views/admin/users/index.html.haml
View file @
d66f6922
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
=
link_to
'New User'
,
new_admin_user_path
,
class:
"btn small right"
=
link_to
'New User'
,
new_admin_user_path
,
class:
"btn small right"
%br
%br
=
form_tag
admin_users_path
,
method: :get
do
=
form_tag
admin_users_path
,
method: :get
,
class:
'form-inline'
do
=
text_field_tag
:name
,
params
[
:name
],
class:
"xlarge"
=
text_field_tag
:name
,
params
[
:name
],
class:
"xlarge"
=
submit_tag
"Search"
,
class:
"btn submit primary"
=
submit_tag
"Search"
,
class:
"btn submit primary"
%ul
.nav.nav-pills
%ul
.nav.nav-pills
...
...
app/views/hooks/index.html.haml
View file @
d66f6922
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
Read more about web hooks
Read more about web hooks
%strong
#{
link_to
"here"
,
help_web_hooks_path
,
class:
"vlink"
}
%strong
#{
link_to
"here"
,
help_web_hooks_path
,
class:
"vlink"
}
=
form_for
[
@project
,
@hook
],
as: :hook
,
url:
project_hooks_path
(
@project
)
do
|
f
|
=
form_for
[
@project
,
@hook
],
as: :hook
,
url:
project_hooks_path
(
@project
)
,
html:
{
class:
'form-inline'
}
do
|
f
|
-
if
@hook
.
errors
.
any?
-
if
@hook
.
errors
.
any?
.alert-message.block-message.error
.alert-message.block-message.error
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
...
...
app/views/search/show.html.haml
View file @
d66f6922
=
form_tag
search_path
,
method: :get
do
|
f
|
=
form_tag
search_path
,
method: :get
,
class:
'form-inline'
do
|
f
|
.padded
.padded
=
label_tag
:search
do
=
label_tag
:search
do
%strong
Looking for
%strong
Looking for
...
...
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