summaryrefslogtreecommitdiffstats
path: root/app/views/layouts/base.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-12 11:25:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-12 11:25:25 +0000
commite9ba8a4494228647a632c76a29bad4921cf20f9b (patch)
tree13cd15cafb4580e3c329b5f02d25cf0dad49225f /app/views/layouts/base.rhtml
parent58ea44a4628326fc6fb2ed2192de0b90edc0e150 (diff)
downloadredmine-e9ba8a4494228647a632c76a29bad4921cf20f9b.tar.gz
redmine-e9ba8a4494228647a632c76a29bad4921cf20f9b.zip
Changed AR error messages style (same as flash errors).
Fixed flash styles for IE6. git-svn-id: http://redmine.rubyforge.org/svn/trunk@610 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts/base.rhtml')
-rw-r--r--app/views/layouts/base.rhtml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index 7f29327e0..2b9619f23 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -138,8 +138,10 @@
</div>
<div id="content">
- <%= content_tag('div', flash[:error], :id => 'flash', :class => 'error') if flash[:error] %>
- <%= content_tag('div', flash[:notice], :id => 'flash', :class => 'notice') if flash[:notice] %>
+ <div id="flash">
+ <%= content_tag('div', flash[:error], :class => 'error') if flash[:error] %>
+ <%= content_tag('div', flash[:notice], :class => 'notice') if flash[:notice] %>
+ </div>
<%= yield %>
</div>