diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml index 67a7aa2764076257624e168913d072850894a784..ff90d513ca118aa855ddc19bde6a36c6915ac7ce 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?