Last active
August 29, 2015 14:26
-
-
Save alxpck/71e328856d0332352d4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "layout.html" %} | |
{% block title %}Available Courses{% endblock %} | |
{% block content %} | |
<div class="cards"> | |
{% for course in courses %} | |
<div class="card"> | |
<header><a href="{% url 'detail' pk=course.pk %}">{{ course.title }}</a></header> | |
<div class="card-copy"> | |
{{ course.description }} | |
</div> | |
</div> | |
{% endfor %} | |
</div> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment