diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-04 19:32:06 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-04 19:32:06 +0200 |
commit | 35287f10284beb66b811bb45d1e6d4f6857ee372 (patch) | |
tree | d62f918508c595b315ffa412804e5df37e75b8c2 /app/views/admin/hooks | |
parent | b4d29d700aa70921839f6ad485112113b49d502f (diff) | |
download | gitlab-ce-35287f10284beb66b811bb45d1e6d4f6857ee372.tar.gz |
twbs3 for system hooks
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin/hooks')
-rw-r--r-- | app/views/admin/hooks/index.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml index 67a7aa27640..ff90d513ca1 100644 --- a/app/views/admin/hooks/index.html.haml +++ b/app/views/admin/hooks/index.html.haml @@ -8,17 +8,17 @@ %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? .alert.alert-danger - @hook.errors.full_messages.each do |msg| %p= msg .form-group - = f.label :url, "URL:" + = f.label :url, "URL:", class: 'control-label' .col-sm-10 - = f.text_field :url, class: "text_field form-control input-xpadding" - - = f.submit "Add System Hook", class: "btn btn-create" + = f.text_field :url, class: "form-control" + .form-actions + = f.submit "Add System Hook", class: "btn btn-create" %hr -if @hooks.any? |