mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Add id to the text input field when editing the template.
Like this styling can be applied to id (or rather, the effect of styling to it can be seen in the layout editor.) Also removed what looks like an extra '<center></center>'. That is added three lines later.
This commit is contained in:
parent
8d66578d43
commit
588feaa35b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue