Skip to content

Commit 146b94d

Browse files
committed
O16: preselect "enter a single address" radio button
1 parent a6424b3 commit 146b94d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/main/views/send.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,9 @@ def render_email_add_recipients(service_id, template_id, template, placeholders)
562562

563563
form = AddRecipientForm()
564564

565+
if request.method == "GET":
566+
form.add_recipient_method.data = AddRecipientForm.CHOICE_ENTER_SINGLE_EMAIL
567+
565568
if form.validate_on_submit():
566569
choice = form.add_recipient_method.data
567570

0 commit comments

Comments
 (0)