Example move up, down, bin via menu.

This commit is contained in:
2020-01-23 23:10:39 +01:00
parent 513cffbbd9
commit 420f48634d
6 changed files with 53 additions and 10 deletions

View File

@@ -38,9 +38,6 @@ def edit_sense_label(sense):
def edit_example(example):
content = question("Edit example", example.text)
etl_getter = lambda: example.copy().translations
content.extend(generic_list_editor("Edit example translations", etl_getter))
return modal_template(content, "Edit Example", message.EditExampleTranslation(example))