{% extends "AdminPages/EntityAdminBase.html.twig" %} {% block card_title %} {% trans %}currency.caption{% endtrans %} {% endblock %} {% block additional_controls %} {{ form_row(form.iso_code) }} {% if entity.isoCode %}
{% trans %}currency.iso_code.caption{% endtrans %}: {{ entity.isoCode }} {% trans %}currency.symbol.caption{% endtrans %}: {{ entity.isoCode | currency_symbol }}
{% endif %} {{ form_row(form.exchange_rate) }} {% if form.update_exchange_rate is defined %} {{ form_row(form.update_exchange_rate, {attr: {class: 'btn-link'}}) }} {% endif %} {% if entity.inverseExchangeRate %} {{ '1'|format_currency(default_currency) }} = {{ entity.inverseExchangeRate.tofloat | format_currency(entity.isoCode, {fraction_digit: 5}) }} {% endif %} {% endblock %} {% block edit_title %} {% trans %}currency.edit{% endtrans %}: {{ entity.name }} {% endblock %} {% block new_title %} {% trans %}currency.new{% endtrans %} {% endblock %}