<%= csrf_meta_tags %> <%= "#{params[:controller]} | #{params[:action]}" %> <%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %> <%= javascript_include_tag 'admin_bundle' %> <%= tinymce_assets %>
<% if flash[:notice].present? || flash[:error].present? %>
<%= 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[:error] %> <%= flash[:error] %> <% end %>
<% end %>
<%= yield %>