Hello site
[auf_framonde.git] / eggs / Django-1.4.5-py2.7.egg / django / contrib / admindocs / templates / admin_doc / model_detail.html
1 {% extends "admin/base_site.html" %}
2 {% load i18n %}
3 {% load url from future %}
4
5 {% block extrahead %}
6 {{ block.super }}
7 <style type="text/css">
8 .module table { width:100%; }
9 .module table p { padding: 0; margin: 0; }
10 </style>
11 {% endblock %}
12
13 {% block breadcrumbs %}
14 <div class="breadcrumbs">
15 <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
16 &rsaquo; <a href="{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}</a>
17 &rsaquo; <a href="{% url 'django-admindocs-models-index' %}">{% trans 'Models' %}</a>
18 &rsaquo; {{ name }}
19 </div>
20 {% endblock %}
21
22 {% block title %}Model: {{ name }}{% endblock %}
23
24 {% block content %}
25 <div id="content-main">
26 <h1>{{ summary }}</h1>
27
28 {% if description %}
29 <p>{% filter linebreaksbr %}{% trans description %}{% endfilter %}</p>
30 {% endif %}
31
32 <div class="module">
33 <table class="model">
34 <thead>
35 <tr>
36 <th>Field</th>
37 <th>Type</th>
38 <th>Description</th>
39 </tr>
40 </thead>
41 <tbody>
42 {% for field in fields|dictsort:"name" %}
43 <tr>
44 <td>{{ field.name }}</td>
45 <td>{{ field.data_type }}</td>
46 <td>{{ field.verbose }}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td>
47 </tr>
48 {% endfor %}
49 </tbody>
50 </table>
51 </div>
52
53 <p class="small"><a href="{% url 'django-admindocs-models-index' %}">&lsaquo; Back to Models Documentation</a></p>
54 </div>
55 {% endblock %}