mirror of https://gitlab.com/bashrc2/epicyon
Submit button for checkbox
parent
0b47d6fd3d
commit
8019735837
|
@ -5460,12 +5460,18 @@ def htmlPersonOptions(translate: {}, baseDir: str,
|
||||||
'<br><input type="checkbox" ' + \
|
'<br><input type="checkbox" ' + \
|
||||||
'class="profilecheckbox" name="onCalendar" ' + \
|
'class="profilecheckbox" name="onCalendar" ' + \
|
||||||
'checked>' + \
|
'checked>' + \
|
||||||
translate['Receive calendar events from this account']
|
translate['Receive calendar events from this account'] + \
|
||||||
|
'<button type="submit" class="button" ' + \
|
||||||
|
'name="submitOnCalendar">' + \
|
||||||
|
translate['Submit'] + '</button>'
|
||||||
else:
|
else:
|
||||||
optionsStr += \
|
optionsStr += \
|
||||||
'<br><input type="checkbox" ' + \
|
'<br><input type="checkbox" ' + \
|
||||||
'class="profilecheckbox" name="onCalendar">' + \
|
'class="profilecheckbox" name="onCalendar">' + \
|
||||||
translate['Receive calendar events from this account']
|
translate['Receive calendar events from this account'] + \
|
||||||
|
'<button type="submit" class="button" ' + \
|
||||||
|
'name="submitOnCalendar">' + \
|
||||||
|
translate['Submit'] + '</button>'
|
||||||
|
|
||||||
optionsStr += ' </form>'
|
optionsStr += ' </form>'
|
||||||
optionsStr += '</center>'
|
optionsStr += '</center>'
|
||||||
|
|
Loading…
Reference in New Issue