% if AdminData::ActiveRecordUtil.new(klass).declared_has_one_association_names.any? %>
has_one : <%= has_one(model, klass).html_safe %>