Do not show the paragraph if no message is set.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7876 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-20 14:07:22 +00:00
parent 0a38f329f8
commit 8b5b928b92
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
<h2><%=h @status %></h2>
<p id="errorExplanation"><%=h @message %></p>
<% if @message.present? %>
<p id="errorExplanation"><%=h @message %></p>
<% end %>
<p><a href="javascript:history.back()">Back</a></p>
<% html_title @status %>