Merge pull request #8 from ospalh/layout-input-id

Add id to the text input field when editing the template.
This commit is contained in:
Damien Elmes 2013-01-18 12:59:52 -08:00
commit 925756b5cb

View File

@ -227,7 +227,7 @@ Please create a new card type first."""))
def maybeTextInput(self, txt, type='q'):
if type == 'q':
repl = "<center><input type=text value=''></center>"
repl = "<input id='typeans' type=text value=''>"
else:
repl = _("(typing comparison appears here)")
repl = "<center>%s</center>" % repl