{% load htmx %} {% comment %} One file list of the git panel (either "Unstaged" or "Staged"). Expects: label, files, view ("unstaged"/"staged"), empty_text, section_class, file_method + file_title (per-file action), all_method + all_title, icon + color (for the action buttons) htmx target/include/swap are inherited from the component's card. {% endcomment %}
{{ files|length }} {% if files %} {% endif %}
{% for file in files %}
{% empty %}
{{ empty_text }}
{% endfor %}