Label for dropdown

merge-requests/30/head
Bob Mottram 2021-08-05 20:24:06 +01:00
parent e5f64e222b
commit e9d93bef90
1 changed files with 2 additions and 1 deletions

View File

@ -361,7 +361,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
extraFields += '<br>' + \ extraFields += '<br>' + \
editTextField(translate['Type of shared item. eg. hat'] + ':', editTextField(translate['Type of shared item. eg. hat'] + ':',
'itemType', '', '', True) 'itemType', '', '', True)
# catStr = translate['Category of shared item. eg. clothing'] catStr = translate['Category of shared item. eg. clothing']
extraFields += '<label class="labels">' + catStr + '</label><br>\n'
extraFields += ' <select id="themeDropdown" ' + \ extraFields += ' <select id="themeDropdown" ' + \
'name="category" class="theme">' 'name="category" class="theme">'
categoryTypes = ("food", "clothes", "tool") categoryTypes = ("food", "clothes", "tool")