mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-30 22:59:52 +02:00
25 lines
1.2 KiB
Twig
25 lines
1.2 KiB
Twig
{% extends "form/extended_bootstrap_layout.html.twig" %}
|
|
|
|
{% block form_label %}
|
|
{# If parameter_envvar exists on form then show it as tooltip #}
|
|
{% if parameter_envvar is defined and parameter_envvar is not null %}
|
|
{%- set label_attr = label_attr|merge({title: 'settings.tooltip.overrideable_by_env'|trans(arguments = {'%env%': (parameter_envvar)|trim})}) -%}
|
|
{% endif %}
|
|
{{- parent() -}}
|
|
{% endblock %}
|
|
|
|
{% block checkbox_radio_label %}
|
|
{# If parameter_envvar exists on form then show it as tooltip #}
|
|
{% if parameter_envvar is defined and parameter_envvar is not null %}
|
|
{%- set label_attr = label_attr|merge({title: 'settings.tooltip.overrideable_by_env'|trans(arguments = {'%env%': (parameter_envvar)|trim})}) -%}
|
|
{% endif %}
|
|
{{- parent() -}}
|
|
{% endblock %}
|
|
|
|
{% block tristate_label %}
|
|
{# If parameter_envvar exists on form then show it as tooltip #}
|
|
{% if parameter_envvar is defined and parameter_envvar is not null %}
|
|
{%- set label_attr = label_attr|merge({title: 'settings.tooltip.overrideable_by_env'|trans(arguments = {'%env%': (parameter_envvar)|trim})}) -%}
|
|
{% endif %}
|
|
{{- parent() -}}
|
|
{% endblock %}
|