Display error message from a flash at the top of the page
This commit is contained in:
parent
73552b36a0
commit
b9737747f2
2 changed files with 10 additions and 0 deletions
|
@ -47,6 +47,10 @@
|
|||
<% end %>
|
||||
</h1>
|
||||
|
||||
<% if @flash[:error] %> <div id="error" class="error">
|
||||
<hr/><p><%= @flash[:error].to_s %></p><hr/></div>
|
||||
<% end %>
|
||||
|
||||
<%= render 'navigation' unless @web.nil? || @hide_navigation %>
|
||||
<%= @content_for_layout %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue