Parent: [f6033a] (diff)

Child: [04617c] (diff)

Download this file

issue_form.py    14 lines (11 with data), 434 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import tw.forms as twf
issue_form = twf.TableForm('issue_form', action='save_issue', children=[
twf.HiddenField('issue_num'),
twf.TextField('summary'),
twf.Spacer(),
twf.TextArea('description', suppress_label=True),
twf.TextField('reported_by'),
twf.TextField('assigned_to'),
twf.TextField('milestone'),
twf.SingleSelectField('status', options=['open', 'unread', 'accepted', 'pending', 'closed'])
])