<% if flash.any? %>
<%= flash[:notice] %> <% if flash[:status_path] %> <%= link_to 'Go to Status', flash[:status_path] %> <% end %> <% if flash[:stale_locale_path] %> The <%= flash[:stale_locale] %> translation may be out of date — <%= link_to 'review it', flash[:stale_locale_path] %> too. <% end %> <% if flash[:locked_node_path] %> The page is locked by <%= flash[:locked_by] %> — <%= link_to 'unlock it there', flash[:locked_node_path] %> first, then attach from this asset's page. <% end %> <% if flash[:headline_kept_path] %> The page's existing headline was kept — <%= link_to 'change it there', flash[:headline_kept_path] %> if needed. <% end %> <% if flash[:error] %> <%= flash[:error] %> <% end %>
<% end %>