fix inline forms

This commit is contained in:
Cyril 2012-08-23 23:04:43 +02:00
parent 4b2e151fc6
commit e2f19befbc
6 changed files with 6 additions and 5 deletions

View file

@ -5,7 +5,7 @@
Read more about system hooks
%strong #{link_to "here", help_system_hooks_path, class: "vlink"}
= form_for @hook, as: :hook, url: admin_hooks_path do |f|
= form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline' } do |f|
-if @hook.errors.any?
.alert-message.block-message.error
- @hook.errors.full_messages.each do |msg|