PageRenderTime 164ms CodeModel.GetById 159ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/admindocs/templates/admin_doc/model_detail.html

https://code.google.com/p/mango-py/
HTML | 46 lines | 40 code | 6 blank | 0 comment | 0 complexity | dc58f3d4961016077ecc7d4a709166d9 MD5 | raw file
 1{% extends "admin/base_site.html" %}
 2{% load i18n %}
 3{% block extrahead %}
 4{{ block.super }}
 5<style type="text/css">
 6.module table { width:100%; }
 7.module table p { padding: 0; margin: 0; }
 8</style>
 9{% endblock %}
10
11{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> &rsaquo; <a href="../../">Documentation</a> &rsaquo; <a href="../">Models</a> &rsaquo; {{ name }}</div>{% endblock %}
12
13{% block title %}Model: {{ name }}{% endblock %}
14
15{% block content %}
16<div id="content-main">
17<h1>{{ summary }}</h1>
18
19{% if description %}
20  <p>{% filter linebreaksbr %}{% trans description %}{% endfilter %}</p>
21{% endif %}
22
23<div class="module">
24<table class="model">
25<thead>
26<tr>
27    <th>Field</th>
28    <th>Type</th>
29    <th>Description</th>
30</tr>
31</thead>
32<tbody>
33{% for field in fields|dictsort:"name" %}
34<tr>
35    <td>{{ field.name }}</td>
36    <td>{{ field.data_type }}</td>
37    <td>{{ field.verbose }}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td>
38</tr>
39{% endfor %}
40</tbody>
41</table>
42</div>
43
44<p class="small"><a href="../">&lsaquo; Back to Models Documentation</a></p>
45</div>
46{% endblock %}