{% comment %} MoneyField editable widget template. Shows amount input (2/3) + currency select (1/3) side by side. Below inputs: conversion info with live recalculation via Alpine.js. Compatible with Unfold admin styling. {% endcomment %}
{# Hidden field for currency - submitted with form #} {# Input row: amount + currency #}
{# Amount input (2/3 width) #}
{% include widget.subwidgets.0.template_name with widget=widget.subwidgets.0 %}
{# Currency select (1/3 width) #}
{% include widget.subwidgets.1.template_name with widget=widget.subwidgets.1 %}
{# Conversion info row - live updated #}
| {% if widget.currency_admin_url %} rates ↗ {% endif %}