{# Used for Add (POST /trades) and Edit-manual (POST /trades/{id}/edit-manual). Caller passes: form_action — the POST URL accounts — list[str] of account display names submit_label — button text trade — optional Trade for prefill (None for Add) symbol — default ticker for Add #}