<label>base <inputtype="text"name="base"value="{{ base_spec }}"list="compare-refs"aria-label="Base: bookmark, tag, change or state"required></label>
11
<aclass="swap"href="{{ repo.url }}/compare/{{ head_spec }}...{{ base_spec }}"title="Swap the two sides"aria-label="Swap the two sides">⇄</a>
12
<label>head <inputtype="text"name="head"value="{{ head_spec }}"list="compare-refs"aria-label="Head: bookmark, tag, change or state"required></label>
13
<buttontype="submit">COMPARE</button>
14
{% if let Some(p) = propose %}{% if let Some(n) = p.existing %}<aclass="go small"href="{{ repo.url }}/proposal/{{ n }}">proposal #{{ n }} is open</a>{% else %}<aclass="go"href="{{ p.url }}">Propose this</a>{% endif %}{% endif %}
15
<datalistid="compare-refs">{% for b in bookmarks %}<optionvalue="{{ b }}">bookmark</option>{% endfor %}{% for t in tags %}<optionvalue="{{ t }}">tag</option>{% endfor %}</datalist>
<pclass="lead">{{ cmp.added.len()|plural("change", "changes") }} in <strong>{{ cmp.head.label }}</strong> not in <strong>{{ cmp.base.label }}</strong>{% if cmp.missing > 0 %}; {{ cmp.missing }} the other way{% endif %}. {{ files.len()|plural("file", "files") }} differ between the two states.</p>
18
{% for c in cmp.added %}{% call m::change_row(repo, c) %}{% endfor %}