summaryrefslogtreecommitdiff
path: root/app/views/admin/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/admin/hooks
parent4b2e151fc69db11b1772d234a233be7cf6eac671 (diff)
downloadgitlab-ce-e2f19befbcc2c0b347507171ef94047426aba5b0.tar.gz
fix inline forms
Diffstat (limited to 'app/views/admin/hooks')
-rw-r--r--app/views/admin/hooks/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml
index d34acffe9e6..43288424e8e 100644
--- a/app/views/admin/hooks/index.html.haml
+++ b/app/views/admin/hooks/index.html.haml
@@ -5,7 +5,7 @@
Read more about system hooks
%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?
.alert-message.block-message.error
- @hook.errors.full_messages.each do |msg|