<%= hubssolib_flash_tags.html_safe -%>
<% if @error -%>
<%= ( escape_preserving_linefeeds(@error) ).html_safe %>
<% end -%>
<% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(action_name) -%>
<%= h(@web.name) + (@show_diff ? ' (changes)' : '') %>
<% elsif (@title.blank? == false) -%>
<%= @title %>
<% elsif @web -%>
<%= h(@web.name) %> <%= (@show_diff ? ' (changes)' : '') %>
<% end -%>
<%= @content_for_layout %>