<%= _("%s's events") % profile.name %>
<%= button :back, _('Back to %s') % profile.name, profile.url %>
<% if user && user.has_permission?('post_content', profile) %>
<%= button :new, _('New event'), myprofile_path(:controller => 'cms', :action => 'new', :type => 'Event') %>
<% end %>
<%= render :partial => 'agenda' %>