Allow specifying drivers as "inactive" and replace Logan Sargeant with Franco Colapinto
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 1m27s

This commit is contained in:
2024-08-30 20:47:06 +02:00
parent 3340b77efe
commit b4c459ffe7
19 changed files with 160 additions and 95 deletions

View File

@ -30,7 +30,7 @@
<option value="" selected disabled hidden></option>
{% if drivers == none %}
{% set drivers = model.all_drivers(include_none=include_none) %}
{% set drivers = model.all_drivers(include_none=include_none, include_inactive=False) %}
{% endif %}
{% for driver in drivers %}
@ -49,7 +49,7 @@
{% set user_has_chosen = namespace(driverpre=false) %}
{% if drivers == none %}
{% set drivers = model.all_drivers(include_none=include_none) %}
{% set drivers = model.all_drivers(include_none=include_none, include_inactive=False) %}
{% endif %}
{% for driver in drivers %}