<%= model ? (editing ? 'Edit' : 'View') : 'New' %> Event profile
<% if(editing) { %>
<% if(model) { %> <% }; %> <% }; %>
<% if(model) { %>
View/Edit Allowed Event Types
<% } %>