Skip to content

Commit

Permalink
twbs3 for system hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  • Loading branch information
dzaporozhets committed Jan 4, 2014
1 parent b4d29d7 commit 35287f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/admin/hooks/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
&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?
Expand Down

0 comments on commit 35287f1

Please sign in to comment.