<div class="modal-header">
  <button class="close" type="button" data-dismiss="modal" aria-hidden="true">&times;</button>
  <h3>Inserisci un codice Kemler</h3>
</div>
<div class="modal-body">
  <p>Cerca un codice ADR / ONU tra quelli disponibili.</p>
  <form class="form-horizontal">
    <div class="control-group">
      <label class="control-label" for="adr_code">Codice ADR</label>
      <div class="controls">
        <?php echo CHtml::dropDownList(                                             'adr_code','',CHtml::listData(array_merge(array(''),$adrCodes), 'code', 'code'),array('class' => 'span3 chzn-select','data-placeholder' => 'Cerca un codice...','data-description-target' => "#adr-code-description",'data-url' => Yii::app()->baseUrl."/kemler/adrDescription",)); ?>
        <p id="adr-code-description" class="text-error"></p>
      </div>
    </div>
    <div class="control-group">
      <label class="control-label" for="onu_code">Codice ONU</label>
      <div class="controls">
        <?php echo CHtml::dropDownList(                                             'onu_code','',CHtml::listData(array_merge(array(''),$onuCodes), 'code', 'code'),array('class' => 'span3 chzn-select','data-placeholder' => 'Cerca un codice...','data-description-target' => "#onu-code-description",'data-url' => Yii::app()->baseUrl."/kemler/onuDescription")); ?>
        <p id="onu-code-description" class="text-error"></p>
      </div>
    </div>
  </form>
</div>
<div class="modal-footer">
  <a class="btn" href="#" data-dismiss="modal">Chiudi</a>
  <a class="btn btn-primary" id="kemler-set" href="#" data-dismiss="modal">Imposta</a>
</div>
