Correct what is marked; nothing was saved yet.
{%- endif %}
{{ fm.select("state", "State", form.state, states, err=errors.state, blank="Choose", req=true) }}
{{ fm.text("location", "Where it lies", form.location, err=errors.location, list="locations", ph="Office, safe, tray 2") }}
{{ fm.text("holder", "With whom", form.holder, err=errors.holder, list="holders") }}
{{ fm.text("due_on", "Back by, or goes back to the client by", due_on, err=errors.due_on, type="date") }}
{{ fm.text("returned_to", "Returned to", form.holder if form.state == "returned" else "", err=errors.holder) }}
{{ fm.text("note", "Note", form.note, err=errors.note, cls="wide", ph="Such as: filed with the extension application") }}