diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index 607b34b..c79814e 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -1,29 +1,28 @@ {% macro new() %}
+ {% endmacro new %} diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index bc24889..fa5bcdd 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -55,13 +55,24 @@ {% endmacro checkbox %} -{% macro select(data, select_name='trip_type', default='', selected_id='') %} +{% macro select(data, select_name='trip_type', default='', selected_id='', display='', extras='') %} + {% if display == '' %} + {% set display = ["name"] %} + {% endif %} {% endmacro select %}