{% extends "base.html" %} {#- Setting one field across every selected row. Its own page rather than a popover on the bulk bar, so the whole thing works with scripting off -- the same shape the delete confirmation takes, and the same shape Django gives an action that needs to ask something before it runs. The value control is a plain text box whatever the column is. A per-type control here would be a third renderer of the same widgets, after the form and the inline row, and the two that already exist are the ones worth keeping in step. The value is parsed against the column's own spec on the way in either way, so a bad one is refused rather than coerced. -#} {% block content %}

{{ _("Edit selected") }}

{{ _("{count} rows are selected.", count=keys|length) if keys|length != 1 else _("One row is selected.") }}

{# The selection travels with the form: re-running the list query here would act on whatever matches now, which is not necessarily what was on screen when the boxes were ticked. #} {% for key in keys %} {% endfor %}
{{ _("Left empty, the field is cleared where the column allows it.") }}
{{ _("Cancel") }}
{% endblock %}