Show
Ignore:
Timestamp:
05/05/10 11:59:06 (3 years ago)
Author:
fabio.montefuscolo
Message:

fix and chage the "new iteration" page

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/clinicaltrials/tickets/templates/tickets/new_iteration.html

    r136 r321  
    33{% block body %} 
    44 
     5<h2>{% trans "Add iteration in ticket" %}</h2> 
     6 
    57<form method="post" action="/ticket/{{ mode }}/{{ ticket_id }}/"> 
    6 <table> 
    7     <tr><th colspan="2">{% trans "Adding Iteration" %}</th></tr> 
    8 {{iteration_form.as_table}} 
    9 </table> 
     8    <fieldset> 
     9        <legend>Ticket info</legend> 
     10        <table class="table"> 
     11            <col width="20%"> 
     12            <col width="80%"> 
     13            <tr> 
     14                <th>{% trans "Author" %}</th> 
     15                <td>{{ ticket.creator.username }}</td> 
     16            </tr> 
     17            <tr> 
     18                <th>{% trans "Date of Registration" %}</th> 
     19                <td>{{ ticket.created }}</td> 
     20            </tr> 
     21            <tr> 
     22                <th>{% trans "Context" %}</th> 
     23                <td>{{ ticket.context }}</td> 
     24            </tr> 
     25            <tr> 
     26                <th>{% trans "Ticket Type" %}</th> 
     27                <td>{{ ticket.type }}</td> 
     28            </tr> 
     29        </table> 
     30    </fieldset> 
    1031 
    11 <input name="submit" type="submit" value="{% trans "Submit" %}"> 
     32    <fieldset> 
     33        <legend>Iteration text</legend> 
     34        {{form.description}} 
     35    </fieldset> 
     36 
     37    <input name="submit" type="submit" value="{% trans "Submit" %}"> 
    1238 
    1339</form>