<% if flash.any? %>
<%= flash[:notice] %> <% if flash[:status_path] %> <%= link_to t(".go_to_status"), flash[:status_path] %> <% end %> <% if flash[:stale_locale_path] %> <%= t(".stale_prefix", :lang => flash[:stale_locale]) %> <%= link_to t(".stale_link"), flash[:stale_locale_path] %><%= t(".stale_suffix") %> <% end %> <% if flash[:locked_node_path] %> <%= t(".locked_prefix", :login => flash[:locked_by]) %> <%= link_to t(".locked_link"), flash[:locked_node_path] %><%= t(".locked_suffix") %> <% end %> <% if flash[:headline_kept_path] %> <%= t(".headline_prefix") %> <%= link_to t(".headline_link"), flash[:headline_kept_path] %><%= t(".headline_suffix") %> <% end %> <% if flash[:error] %> <%= flash[:error] %> <% end %>
<% end %>