X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/gitweb.css?a=blobdiff_plain;ds=inline;f=templates%2F_macros.html;h=55ab626b1fe6bbb7f49b3ab41c9dbb24bf56d792;hb=c5449a0b00f8865b1129ed56bdd16f1cc055bc87;hp=cb1bb452d16f3671ab7108a159b1c581ec063890;hpb=8542cd471f1aeea1abbe0b237a94f7863fb12dd0;p=plomtask diff --git a/templates/_macros.html b/templates/_macros.html index cb1bb45..55ab626 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -1,16 +1,27 @@ {% macro edit_buttons() %} +
{% endmacro %} -{% macro datalist_of_titles(title, candidates) %} +{% macro datalist_of_titles(title, candidates, historical=false, with_comments=false) %} {% endmacro %} @@ -18,6 +29,7 @@ {% macro simple_checkbox_table(title, items, type_name, list_name, add_string="add", historical=false) %} +{% if items|length > 0 %}