diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-11 20:23:05 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-11 20:23:05 +0800 |
commit | 5d8dd88e781f4297c9f344bc99d290fa2cf8b6e9 (patch) | |
tree | 5cd9712838b329daebb36c8d3aee6cea242a94fd /app/main.py | |
parent | 0361a340f2c259c463add84599a30c337670a0d6 (diff) |
app/test/test_add_word.py and app/main.py: give the button an ID.
Diffstat (limited to 'app/main.py')
-rw-r--r-- | app/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.py b/app/main.py index 9ffe91f..16591ba 100644 --- a/app/main.py +++ b/app/main.py @@ -299,7 +299,7 @@ def userpage(username): for x in lst:
page += '<p><font color="grey">%d</font>: <a href="%s" title="%s">%s</a> (%d) <input type="checkbox" name="marked" value="%s"></p>\n' % (count, youdao_link(x[0]), appears_in_test(x[0], words_tests_dict), x[0], x[1], x[0])
count += 1
- page += ' <input type="submit" value="加入我的生词簿"/>\n'
+ page += ' <input id="add-to-new-word-book-btn" type="submit" value="加入我的生词簿"/>\n'
page += '</form>\n'
return page
|