Commit 35287f10284beb66b811bb45d1e6d4f6857ee372

Authored by Dmitriy Zaporozhets
1 parent b4d29d70

twbs3 for system hooks

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
app/views/admin/hooks/index.html.haml
@@ -8,17 +8,17 @@ @@ -8,17 +8,17 @@
8 %hr 8 %hr
9 9
10 10
11 -= form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline' } do |f| 11 += form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-horizontal' } do |f|
12 -if @hook.errors.any? 12 -if @hook.errors.any?
13 .alert.alert-danger 13 .alert.alert-danger
14 - @hook.errors.full_messages.each do |msg| 14 - @hook.errors.full_messages.each do |msg|
15 %p= msg 15 %p= msg
16 .form-group 16 .form-group
17 - = f.label :url, "URL:" 17 + = f.label :url, "URL:", class: 'control-label'
18 .col-sm-10 18 .col-sm-10
19 - = f.text_field :url, class: "text_field form-control input-xpadding"  
20 - &nbsp;  
21 - = f.submit "Add System Hook", class: "btn btn-create" 19 + = f.text_field :url, class: "form-control"
  20 + .form-actions
  21 + = f.submit "Add System Hook", class: "btn btn-create"
22 %hr 22 %hr
23 23
24 -if @hooks.any? 24 -if @hooks.any?