%- if resource_administrated?(relationship_class) && relationship_class.respond_to?(:autocomplete_attribute) && relationship_class.autocomplete_attribute.present? -%>
<%= form_tag relate_to_url(object), :class => 'relate-to-form', :method => :put do %>
<% end %>
<%- end -%>