<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 %}
<labelfor="title">Title</label><inputtype="text"id="title"name="title"requiredvalue="{% if !title.is_empty() %}{{ title }}{% else if preview.len() == 1 %}{{ preview[0].title }}{% endif %}">
27
<labelfor="body">Description (Markdown)</label><textareaid="body"name="body"class="md"rows="8">{{ body }}</textarea>
28
{% if !assistants.is_empty() %}<divclass="side-assist">{% for a in assistants %}<buttontype="submit"class="small"formaction="{{ repo.url }}/proposals/new/draft"formnovalidatename="assistant"value="{{ a }}"title="{{ a }}, an AI assistant, drafts the description from the changes; you edit it before opening"><spanclass="tag">agent</span> draft with {{ a }}</button>{% endfor %}</div>{% endif %}