<%= link_to send("#{admin_prefix}_path") do %>
<%= MyAdmin.title %>
<% end %>
<% if flash[:success] %>
<%= raw [flash[:success]].flatten.each {|note| "#{h(note)}" }.join( '
' ) %>
<% end %>
<% if flash[:warning] %>
<%= raw [flash[:warning]].flatten.each {|note| "#{h(note)}" }.join( '
' ) %>
<% end %>
<% if flash[:error] %>
<%= raw [flash[:error]].flatten.map {|note| "#{h(note)}" }.join( '
' ) %>
<% end %>
<%= yield %>