{% for synonym in object.moleculesynonyms_set.all %}
    {{ synonym.molecule_synonym }}
{% endfor %}