{% set type = type|default('') %}
{% if type|length > 0 %}
    {% set type = (type ~ '_') %}
{% endif %}
<div class="mall-form-control">
    <label for="{{ type }}company">{{ 'offline.mall::frontend.form.company'|trans }}</label>
    <input id="{{ type }}company" type="text"
           value="{{ address.company|default('') }}"
           placeholder="{{ 'offline.mall::frontend.form.company_placeholder'|trans }}" name="{{ type }}company">
    <div data-validate-for="{{ type }}company"></div>
</div>
<div clas