{# Tag chip editor for a Plan row. Inputs: r (PlanRow with .symbol and .tags). - Each tag renders as a pill with an HTMX-wired ×. - The "+" button toggles a text input (Alpine x-data). Submitting the input POSTs to /positions/plan/target/{sym}/tag with form field "tag". #} {% set palette = ['#3b82f6','#10b981','#f59e0b','#ef4444','#8b5cf6','#06b6d4','#f97316','#84cc16'] %}