Label for dropdown

This commit is contained in:
bashrc committed 2021-08-05 20:24:06 +01:00
1 parent e5f64e222b
commit e9d93bef90
1 file changed
+2 -1
+2 -1
View File
@@ -361,7 +361,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
extraFields += '<br>' + \
editTextField(translate['Type of shared item. eg. hat'] + ':',
'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" ' + \
'name="category" class="theme">'
categoryTypes = ("food", "clothes", "tool")