Changeset 07caee0
- Timestamp:
- May 26, 2010, 9:16:40 PM (16 years ago)
- Branches:
- master, fysm-4-1, space-access, stable, stage, test-hooks
- Children:
- 9d8d5a0
- Parents:
- a2315e6
- git-author:
- Alex Dehnert <adehnert@…> (05/26/10 21:16:40)
- git-committer:
- Alex Dehnert <adehnert@…> (05/26/10 21:16:40)
- Location:
- asadb
- Files:
-
- 2 edited
-
forms/views.py (modified) (1 diff)
-
template/fysm/submit.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
ra10dd4b r07caee0 195 195 'fysm':fysm_obj, 196 196 'form':form, 197 'categories':forms.models.FYSMCategory.objects.all(), 197 198 'pagename':'fysm', 198 199 } -
asadb/template/fysm/submit.html
r80194d8 r07caee0 16 16 </form> 17 17 18 <h2>Categories</h2> 19 20 <p>Below you can find the descriptions of the categories that you can choose among.</p> 21 22 <table class='pretty-table'> 23 <thead> 24 <tr> 25 <th>Name</th> 26 <th>Description</th> 27 </tr> 28 </thead> 29 <tbody> 30 {% for category in categories %} 31 <tr> 32 <th>{{category.name}}</th> 33 <td>{{category.blurb}}</td> 34 </tr> 35 {% endfor %} 36 </tbody> 37 </table> 38 18 39 </div> 19 40 {% endblock %}
Note: See TracChangeset
for help on using the changeset viewer.