<div><labelfor="source">Source (a bookmark here, or owner/name:bookmark of a fork)</label><inputtype="text"id="source"name="source"value="{{ source }}"list="bms"></div>
12
<div><labelfor="target">Target</label><selectid="target"name="target">{% for b in bookmarks %}<optionvalue="{{ b }}"{% if *b == target %} selected{% endif %}>{{ b }}</option>{% endfor %}</select></div>
13
<div><buttontype="submit">PREVIEW</button></div>
14
</div>
15
<datalistid="bms">{% for b in bookmarks %}<optionvalue="{{ b }}">{% endfor %}</datalist>
16
</form>
17
{% if !preview.is_empty() %}
18
<sectionclass="panel">
19
<h2>{{ preview.len()|plural("change", "changes") }} would be added to {{ target }}{% if conflicted %} <spanclass="tag bad">with conflicts</span>{% endif %}</h2>
20
{% for c in preview %}{% call m::change_row(repo, c) %}{% endfor %}
{% if !assistants.is_empty() %}<divclass="assist-row">{% for a in assistants %}<buttontype="submit"class="agent-btn"formaction="{{ repo.url }}/proposals/new/draft"data-stream="{{ repo.url }}/proposals/new/draft/stream"formnovalidatename="assistant"value="{{ a }}"title="{{ a }}, an AI assistant, drafts the description from the changes; you edit it before opening"><imgsrc="/avatar/agent/{{ a }}"alt=""width="16"height="16"> Draft with {{ a }}</button>{% endfor %}</div>{% endif %}
29
<divclass="actions">
30
<labelclass="choice"><inputtype="checkbox"name="draft"value="1"> Draft: not ready for review</label>