|
|
|
|
|
|
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
{% for resource in resources %} |
|
|
{% for resource in resources %} |
|
|
<div class="col-md-4 col-sm-6 py-3"> |
|
|
<div class="col-md-4 col-sm-6 py-3"> |
|
|
|
|
|
{% if resource['type'] == 'practice' %} |
|
|
<div class="card text-dark bg-warning mb-3"> |
|
|
<div class="card text-dark bg-warning mb-3"> |
|
|
<div class="card-body"> |
|
|
<div class="card-body"> |
|
|
<a href="{{ url_for('practice.show_practice', practice_id=resource['id']) }}"> |
|
|
<a href="{{ url_for('practice.show_practice', practice_id=resource['id']) }}"> |
|
|
|
|
|
|
|
|
</p> |
|
|
</p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
{% endif %} |
|
|
</div> |
|
|
</div> |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</div> |
|
|
</div> |