Changeset 135 for django


Ignore:
Timestamp:
19/07/08 01:52:25 (4 years ago)
Author:
nigel.sim
Message:
  • Added details form
    • Pushed domain listing up to the base template
Location:
django/domainmanager/trunk/templates/domains
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • django/domainmanager/trunk/templates/domains/index.html

    r128 r135  
    1 {% if object_list %} 
    2         <ul> 
    3         {% for domain in object_list %} 
    4                 <li>{{ domain.name }}</li> 
    5         {% endfor %} 
    6         </ul> 
    7 {% else %} 
    8         <p>No domains</p> 
    9 {% endif %} 
     1{% extends "base.html" %} 
     2 
     3{% block content %} 
     4 
     5<form action='{{ request.path }}' method='POST'> 
     6<input type='hidden' name='edit_id' value='{{ edit_id }}'> 
     7<table> 
     8{{ addDomainForm }} 
     9{{ addClientForm }} 
     10<tr> 
     11  <td colspan=2 align=right> 
     12    <input type=submit name='submitAction' value='{{ submitAction }}'> 
     13  </td> 
     14</tr> 
     15</table> 
     16</form> 
     17 
     18 
     19{% endblock %} 
Note: See TracChangeset for help on using the changeset viewer.