Fix the callforpapers routing and some styling issues

This commit is contained in:
Henne Vogelsang 2014-05-13 14:17:39 +02:00
parent 740540de13
commit e4c19ab1f6
6 changed files with 40 additions and 9 deletions

View file

@ -1,5 +1,6 @@
- flash.each do |name, msg|
- if msg.is_a?(String)
%div{:class => "alert alert-#{name == :notice ? "success" : "error"}"}
%a.close{"data-dismiss" => "alert"} ×
= content_tag :div, msg, :id => "flash_#{name}"
- flash.each do |type, message|
%div{:class=>"alert alert-dismissable #{bootstrap_class_for(type)}", :id=>"flash"}
.button.close{"data-dismiss" => "alert", "aria-hidden"=>"true"}
×
%p
= message