summaryrefslogtreecommitdiff
path: root/app/views/hooks
diff options
context:
space:
mode:
authorCyril <jv.cyril@gmail.com>2012-08-23 23:04:43 +0200
committerCyril <jv.cyril@gmail.com>2012-08-23 23:04:43 +0200
commite2f19befbcc2c0b347507171ef94047426aba5b0 (patch)
treea8d723d48780b88847679176df4b530f15a32f07 /app/views/hooks
parent4b2e151fc69db11b1772d234a233be7cf6eac671 (diff)
downloadgitlab-ce-e2f19befbcc2c0b347507171ef94047426aba5b0.tar.gz
fix inline forms
Diffstat (limited to 'app/views/hooks')
-rw-r--r--app/views/hooks/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/hooks/index.html.haml b/app/views/hooks/index.html.haml
index 4e15dc50ee8..3d2a381e746 100644
--- a/app/views/hooks/index.html.haml
+++ b/app/views/hooks/index.html.haml
@@ -8,7 +8,7 @@
Read more about web hooks
%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?
.alert-message.block-message.error
- @hook.errors.full_messages.each do |msg|