{% load i18n %}
{% load disable_if_connection from damis %}

{% if parameter.connection_type != 'OUTPUT_VALUE' %}
<div style="{% if parameter.connection_type == 'OUTPUT_CONNECTION' %}display:none;{% endif %}{% if parameter.connection_type == 'INPUT_CONNECTION' %}display:none;{% endif %}">
{% for field in form.visible_fields %}
    {% if field.name == 'value' %}
    <span title='{{ parameter.get_description_display }}'
        >{% firstof parameter.get_label_display parameter.name %}
        {% if parameter.required %}
            <b>*</b>
        {% endif %}
        {% if parameter.type != 'boolean' %}
        <span class="lower">({% if parameter.type %}{% trans parameter.type %}{% endif %})<br />
        {% endif %}
        {{ field.errors }}
        {{ field|disable_if_connection }}
    </span>
    {% endif %}
{% endfor %}
{% for field in form.hidden_fields %}
    {{ field }}
{% endfor %}
<input id="{{ form.prefix }}-connection_type" type="hidden" value="{{ parameter.connection_type }}" name="{{ form.prefix }}-connection_type"/>
</div>
{% endif %}

{% load i18n %}
{% load disable_if_connection from damis %}

{% if parameter.connection_type != 'OUTPUT_VALUE' %}
<div style="{% if parameter.connection_type == 'OUTPUT_CONNECTION' %}display:none;{% endif %}{% if parameter.connection_type == 'INPUT_CONNECTION' %}display:none;{% endif %}">
{% for field in form.visible_fields %}
    {% if field.name == 'value' %}
    <span title='{{ parameter.get_description_display }}'
        >{% firstof parameter.get_label_display parameter.name %}
        {% if parameter.required %}
            <b>*</b>
        {% endif %}
        {% if parameter.type != 'boolean' %}
        <span class="helptext">({% if parameter.type %}{% trans parameter.type %}{% endif %})<br />
        {% endif %}
        {{ field.errors }}
        {{ field|disable_if_connection }}
    </span>
    {% endif %}
{% endfor %}
{% for field in form.hidden_fields %}
    {{ field }}
{% endfor %}
<input id="{{ form.prefix }}-connection_type" type="hidden" value="{{ parameter.connection_type }}" name="{{ form.prefix }}-connection_type"/>
</div>
{% endif %}

Update parameter type style: lower it and change color to gray.
Update parameter type style: lower it and change color to gray.
