Commit a36c5795 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

twbs3 for system hooks


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent e4c036df1ba6
......@@ -8,9 +8,9 @@
%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
......@@ -12,7 +12,7 @@
-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
......@@ -18,7 +18,7 @@
.col-sm-10
= f.text_field :url, class: "text_field form-control input-xpadding"
&nbsp;
= 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?
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment