Fixed error message display in admin/edit_web - Rails flash handling apparently has changed

This commit is contained in:
Alexey Verkhovsky 2005-05-09 03:41:00 +00:00
parent f1c5004543
commit b3e355f4bc
4 changed files with 12 additions and 10 deletions

View file

@ -46,6 +46,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
</head>
<body>
<div id="Container">
<div id="Content">
<h1 id="pageName">
@ -59,8 +60,8 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<% end %>
</h1>
<% if @flash[:error] %> <div id="error">
<hr/><p><%= @flash[:error].to_s %></p><hr/></div>
<% if @error or @flash[:error] %> <div id="error">
<hr/><p><%= (@error || @flash[:error]) %></p><hr/></div>
<% end %>
<% if @flash[:info] %> <div id="info">