testweise Status mit SelectOne widget
This commit is contained in:
parent
51e2319781
commit
cfa7479781
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class membership_data_model():
|
||||||
|
|
||||||
def add_edit_fields(self, parent_form):
|
def add_edit_fields(self, parent_form):
|
||||||
mem = self.membership_data_dict
|
mem = self.membership_data_dict
|
||||||
self.forms['status'] = parent_form.add(npyscreen.TitleText, name="Status: ", value=mem['status'])
|
self.forms['status'] = parent_form.add(npyscreen.TitleSelectOne, name="Status: ", values=['V', 'E', 'F'], value=0, max_height=2, scroll_exit=True)
|
||||||
self.forms['von'] = parent_form.add(npyscreen.TitleText, name="Von: ", value=mem['von'])
|
self.forms['von'] = parent_form.add(npyscreen.TitleText, name="Von: ", value=mem['von'])
|
||||||
self.forms['bis'] = parent_form.add(npyscreen.TitleText, name="Bis: ", value=mem['bis'])
|
self.forms['bis'] = parent_form.add(npyscreen.TitleText, name="Bis: ", value=mem['bis'])
|
||||||
self.forms['mitgliedsbeitrag'] = parent_form.add(npyscreen.TitleText, name="Mitgliedsbeitrag: ",
|
self.forms['mitgliedsbeitrag'] = parent_form.add(npyscreen.TitleText, name="Mitgliedsbeitrag: ",
|
||||||
|
|
Loading…
Reference in a new issue