Skip to content

Commit

Permalink
Merge pull request #36 from wlawski/optional-title
Browse files Browse the repository at this point in the history
Make the title optional
  • Loading branch information
zjosua authored Mar 16, 2021
2 parents ed05364 + 90ff094 commit 0936b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/multiple_choice/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@
aio_model = "AllInOne (kprim, mc, sc)"
aio_card = "AllInOne (kprim, mc, sc)"
aio_fields = {
"title": "Title",
"question": "Question",
"title": "Title",
"qtype": "QType (0=kprim,1=mc,2=sc)",
"q1": "Q_1",
"q2": "Q_2",
Expand All @@ -504,7 +504,7 @@ def addModel(col):
template['qfmt'] = card_front
template['afmt'] = card_back
model['css'] = card_css
model['sortf'] = 1 # set sortfield to question
model['sortf'] = 0 # set sortfield to question
models.addTemplate(model, template)
models.add(model)
return model
Expand Down

0 comments on commit 0936b95

Please sign in to comment.