<divclass="col-sm-3 border-info d-flex justify-content-center align-content-center {% if compound.replaced_with or compound.is_validated is False %}bg_warning{% endif %}">
<astyle="overflow: hidden;"href="/compounds/{{ compound.id }}">{% include "compound_smiles_draw.html" with id=compound.id smile=compound.canonical_smile %}</a>
<h2class="position-absolute"style="top:0.3em; left:0.3em;"><spanclass="badge badge-light"><ahref="/compounds/{{ compound.id }}">{{ compound.id }}</a></span>{% if compound.replaced_with is not None %}
<spanstyle="font-size: 26px; color:#fa8005; font-size: 75%;">replaced with <ahref="/compounds/{{ compound.replaced_with.id }}">{{ compound.replaced_with.id }}</a></span>{% elif compound.is_validated is False %}<span
<divclass="col-sm-3 border-info justify-content-center align-content-center {% if compound.replaced_with or compound.is_validated is False %}bg_warning{% endif %}">
<divclass="row">
<astyle="overflow: hidden;"href="/compounds/{{ compound.id }}">{% include "compound_smiles_draw.html" with id=compound.id smile=compound.canonical_smile %}</a>
<h2class="position-absolute"style="top:0.3em; left:0.3em;"><spanclass="badge badge-light"><ahref="/compounds/{{ compound.id }}">{{ compound.id }}</a></span>{% if compound.replaced_with is not None %}
<spanstyle="font-size: 26px; color:#fa8005; font-size: 75%;">replaced with <ahref="/compounds/{{ compound.replaced_with.id }}">{{ compound.replaced_with.id }}</a></span>{% elif compound.is_validated is False %}<span