<% if authorized? :new, @abstract_model %> <% end %> <% if authorized? :edit, @abstract_model %> <% end %>