{% extends "admin/base_admin.html.twig" %}

{% block card_title %}
    <i class="fas fa-balance-scale fa-fw"></i> {{ type_label_p(entity) }}
{% endblock %}

{% block edit_title %}
    {% trans %}measurement_unit.edit{% endtrans %}: {{ entity.name }}
{% endblock %}

{% block new_title %}
    {% trans %}measurement_unit.new{% endtrans %}
{% endblock %}

{% block additional_controls %}
    {{ form_row(form.unit) }}
    {{ form_row(form.is_integer) }}
    {{ form_row(form.use_si_prefix)}}
    {{ form_row(form.alternative_names) }}
{% endblock %}

