<div class="control-group ">
    <label class="control-label" for="Gateway_intl_prefix"><?php echo $label; ?></label>
    <div class="controls">
        <?php
        echo $form->textField($model, "intl_prefix", array(
            "class" => "span1",
            "data-default-tab" => $tabIndex,
            "placeholder" => "0049",
            "data-translation-id" => "GATEWAY_MODEL_INTL_PREFIX_WITH_RANGE",
            "data-translation-target" => "INTL_PREFIX_ATTRIBUTE",
            "data-hidden-on-default" => true,
            'style' => 'width:32px; margin-right:1px;'
                )
        );
        echo $form->textField($model, "area_code", array(
            "class" => "span1",
            "data-default-tab" => $tabIndex,
            "placeholder" => "30",
            "data-translation-id" => "GATEWAY_MODEL_AREA_CODE",
            "data-translation-target" => "INTL_PREFIX_ATTRIBUTE",
            "data-hidden-on-default" => true,
            'style' => 'width:32px; margin-right:1px;'
                )
        );

        echo $form->textField($model, "head_number", array(
            "class" => "span1",
            "data-default-tab" => $tabIndex,
            "placeholder" => "12345",
            "data-translation-id" => "GATEWAY_MODEL_HEAD_NUMBER",
            "data-translation-target" => "INTL_PREFIX_ATTRIBUTE",
            "data-hidden-on-default" => true
                )
        );

        echo CHtml::openTag('span', array(
            'id' => 'Gateway_did_range',
            "data-hidden-on-default" => true
                )
        );
        echo $form->textField($model, "did_from", array(
            "class" => "span1",
            "data-default-tab" => $tabIndex,
            "placeholder" => "0",
            "data-translation-id" => "GATEWAY_MODEL_DID_FROM",
            "data-translation-target" => "INTL_PREFIX_ATTRIBUTE",
            'style' => 'width:32px; margin-left:1px;'
                )
        );
        echo " - ";
        echo $form->textField($model, "did_to", array(
            "class" => "span1",
            "data-default-tab" => $tabIndex,
            "placeholder" => "9",
            "data-translation-id" => "GATEWAY_MODEL_DID_TO",
            "data-translation-target" => "INTL_PREFIX_ATTRIBUTE",
            'style' => 'width:32px'
                )
        );
        echo CHtml::closeTag('span');

        echo $form->error($model, "intl_prefix", array(), true, true);
        echo $form->error($model, "area_code", array(), true, true);
        echo $form->error($model, "head_number", array(), true, true);
        echo $form->error($model, "did_from", array(), true, true);
        echo $form->error($model, "did_to", array(), true, true);
        ?>
    </div>
</div>