codesmidgen/stickynotes/templates/notes.html

19 lines
595 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="row">
{% for note in notes %}
<div class="col-12">
<div class="card">
<div class="card-body">
{% if note.title %}
<h5 class="card-title"><a href="/{{note.url}}">{{note.title}}</a></h5>
{% else %}
<h5 class="card-title"><a href="/{{note.url}}">{{note.url}}</a></h5>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
{% endblock %}