<fieldset>
  <div class="form-group required">
    {% if route|slice(0, 9) == 'checkout/' %}
      <label class="control-label" for="input-payment-captcha">{{ entry_captcha }}</label>
      <input type="text" name="captcha" id="input-payment-captcha" class="form-control" autocomplete="off" />
      <img src="index.php?route=extension/captcha/basic/captcha" alt="" />
    {% elseif route == 'product/product' %}
      <div class="col-sm-12">
        <label class="control-label" for="input-captcha">{{ entry_captcha }}</label>
        <div class="row">
          <div class="col-xs-6 col-sm-3">
            <input type="text" name="captcha" id="input-captcha" class="form-control" />
            {% if error_captcha %}
            <div class="text-danger">{{ error_captcha }}</div>
            {% endif %}
          </div>
          <div class="col-xs-6 col-sm-2">
            <img src="index.php?route=extension/captcha/basic/captcha" alt="" />
          </div>
        </div>
      </div>
    {% else %}
      <label class="col-xs-12 col-sm-2 control-label" for="input-captcha">{{ entry_captcha }}</label>
      <div class="col-xs-6 col-sm-12">
        <div class="input-captcha-wrap">
          <input type="text" name="captcha" id="input-captcha" class="form-control" />
          <div class="captcha-img">
            <img src="index.php?route=extension/captcha/basic/captcha" alt="" class="img-responsive" />
          </div>
        </div>
        {% if error_captcha %}
        <div class="text-danger">{{ error_captcha }}</div>
        {% endif %}
      </div>
    {% endif %}
  </div>
</fieldset>
