<% if @action.enabled? && authorized?(:new, @abstract_model) %> <% end %> <% if @action.enabled? && authorized?(:edit, @abstract_model) %> <% end %>