The new proposal form lines up with the changes above it, its buttons in one row (closes #315) 8f0efa0729b0
The form was a 720 px card under a full-width panel, Draft with Claude a
second primary button, and the draft checkbox and Open proposal on lines
of their own. Now: full width; Draft with Claude a secondary button under
the editor; the checkbox and Open proposal on one row, the submit last.
<h2>{{ preview.len()|plural("change", "changes") }} would be added to {{ target }}{% if conflicted %} <span class="tag bad">with conflicts</span>{% endif %}</h2>
20
20
{% for c in preview %}{% call m::change_row(repo, c) %}{% endfor %}
<label for="title">Title</label><input type="text" id="title" name="title" required value="{% if !title.is_empty() %}{{ title }}{% else if preview.len() == 1 %}{{ preview[0].title }}{% endif %}">
27
27
<label for="body">Description (Markdown)</label><textarea id="body" name="body" class="md" rows="8">{{ body }}</textarea>
28
-
{% if !assistants.is_empty() %}<div class="side-assist">{% for a in assistants %}<button type="submit" class="agent-btn" formaction="{{ repo.url }}/proposals/new/draft" data-stream="{{ repo.url }}/proposals/new/draft/stream" formnovalidate name="assistant" value="{{ a }}" title="{{ a }}, an AI assistant, drafts the description from the changes; you edit it before opening"><img src="/avatar/agent/{{ a }}" alt="" width="16" height="16"> Draft with {{ a }}</button>{% endfor %}</div>{% endif %}
29
-
<div class="choice"><label><input type="checkbox" name="draft" value="1"> draft: not ready for review</label></div>
30
-
<button type="submit">OPEN PROPOSAL</button>
28
+
{% if !assistants.is_empty() %}<div class="assist-row">{% for a in assistants %}<button type="submit" class="agent-btn" formaction="{{ repo.url }}/proposals/new/draft" data-stream="{{ repo.url }}/proposals/new/draft/stream" formnovalidate name="assistant" value="{{ a }}" title="{{ a }}, an AI assistant, drafts the description from the changes; you edit it before opening"><img src="/avatar/agent/{{ a }}" alt="" width="16" height="16"> Draft with {{ a }}</button>{% endfor %}</div>{% endif %}
29
+
<div class="actions">
30
+
<label class="choice"><input type="checkbox" name="draft" value="1"> Draft: not ready for review</label>