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

@ -8,7 +8,7 @@
Read more about web hooks
%strong #{link_to "here", help_web_hooks_path, class: "vlink"}
= form_for [@project, @hook], as: :hook, url: project_hooks_path(@project) do |f|
= form_for [@project, @hook], as: :hook, url: project_hooks_path(@project), html: { class: 'form-inline' } do |f|
-if @hook.errors.any?
.alert-message.block-message.error
- @hook.errors.full_messages.each do |msg|