{% set idcard_sub = idcard_sub|default(random(50000)) %}
{% set collapse = collapse is defined ? collapse : 'collapse' %}
<div class="">
	<div class="card-header" onmouseover="$(this).addClass('border-primary');" onmouseout="$(this).removeClass('border-primary');" data-toggle="{% block blocktoggle %}collapse{% endblock blocktoggle %}" data-target="#collapse{{idcard_sub}}" aria-expanded="false" aria-controls="collapse{{idcard_sub}}">{% block blocktitle %}{% endblock blocktitle %}</div>
	<div class="card-body {{collapse}}" id="collapse{{idcard_sub}}">
		{% block blocksubtitle %}<h4 class="card-title"></h4>{% endblock blocksubtitle %}
		<div class="card-text">
			{% block blockcontent %}
			{% endblock blockcontent %}
		</div>
	</div>
</div>
