{% extends 'base.html' %}
{% load documentation_extras %}

{% block content %}
{% if app_name %}
<div class="jumbotron">
    <h1>Documentation of <code>{{app_name}}</code></h1>
    <h5>See table properties</h2>
</div>
<div class="container">
    {% if models %}
    {% for model in models %}
    {% render_documentation app_slug model %}
    {% endfor %}
    {% else %}
    <h2>No models found</h2>
    {% endif %}
</div>
{% else %}
<h1>Was not able to locate app</h1>
{% endif %}
{% endblock %}
