{% if error %} Could not create toggle button: {{ error }} {% else %} {{ collectionobject.collection }} {% endif %}