<% url ||= nil %> <% strategy ||= current_attributes_strategy || :none %> <% body = link_to_if url.present?, partial.body, url %> <% case strategy %> <% when :label %>
<%= body %>
<% else %> <%= body %> <% end %>