{[ if (label) { ]}
<label>
    {{label}}
</label>
{[ } ]}
<div class="input-group">
    <input name="{{name}}" type="{{type}}"
        {[ if (value) { ]} value="{{value}}" {[ } ]}
        {[ if (required) { ]} class="required" {[ } ]} />
    <span title="{{domain}}">{{domain}}</span>
</div>
