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
Jérome Perrin
gitlab-ce
Commits
35287f10
Commit
35287f10
authored
Jan 04, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twbs3 for system hooks
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b4d29d70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+5
-5
No files found.
app/views/admin/hooks/index.html.haml
View file @
35287f10
...
@@ -8,17 +8,17 @@
...
@@ -8,17 +8,17 @@
%hr
%hr
=
form_for
@hook
,
as: :hook
,
url:
admin_hooks_path
,
html:
{
class:
'form-
inline
'
}
do
|
f
|
=
form_for
@hook
,
as: :hook
,
url:
admin_hooks_path
,
html:
{
class:
'form-
horizontal
'
}
do
|
f
|
-
if
@hook
.
errors
.
any?
-
if
@hook
.
errors
.
any?
.alert.alert-danger
.alert.alert-danger
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
%p
=
msg
%p
=
msg
.form-group
.form-group
=
f
.
label
:url
,
"URL:"
=
f
.
label
:url
,
"URL:"
,
class:
'control-label'
.col-sm-10
.col-sm-10
=
f
.
text_field
:url
,
class:
"
text_field form-control input-xpadding
"
=
f
.
text_field
:url
,
class:
"
form-control
"
.form-actions
=
f
.
submit
"Add System Hook"
,
class:
"btn btn-create"
=
f
.
submit
"Add System Hook"
,
class:
"btn btn-create"
%hr
%hr
-
if
@hooks
.
any?
-
if
@hooks
.
any?
...
...
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