{% macro new(only_ones, allow_any_shipmaster, shipmaster) %}
{% endmacro new %} {% macro boats(only_ones) %} {% if not only_ones %} {{ macros::select(data=boats, select_name='boat_id', display=["name", " (","amount_seats", " x)"], extras=["default_shipmaster_only_steering", "amount_seats"], class="col-span-2") }} {% else %} {% set ones = boats | filter(attribute="amount_seats", value=1) %} {{ macros::select(data=ones, select_name='boat_id', display=["name", " (","amount_seats", " x)"], extras=["default_shipmaster_only_steering", "amount_seats"]) }} {% endif %} {% endmacro boats %} {% macro show(log, state, allowed_to_close=false, only_ones) %} Bootsname: {{ log.boat.name }}