{% for pacela in parcelas %}
<div class="top-margin-medium parcela_config_{{pacela.num_parcela}}">
    <label class="field field-medium">
      <span class="field-label">{{text_parcela}} {{pacela.num_parcela}}: </span>
      <input type="text" class="field-entry hidden" name="{{modulo}}_parcelamento_configs[{{pacela.num_parcela}}][num_parcela]" value="{{pacela.num_parcela}}">
    </label>
    <div class="field-group-join top-margin-small">
      <label class="field field-medium">
        <span class="field-label">{{entry_valor_minimo}}</span>
        <input type="text" class="field-entry mask-money" name="{{modulo}}_parcelamento_configs[{{pacela.num_parcela}}][val_minimo]" value="{{pacela.val_minimo}}" maxlength="22">
      </label>
      <label class="field field-medium">
        <span class="field-label">{{entry_tipo_calculo }}</span>
        <select class="field-entry" name="{{modulo}}_parcelamento_configs[{{pacela.num_parcela}}][tipo_calculo]" >
          {% for key, display in Type_CalculoParcelamento.getEnumList() %}
            <option value="{{ key }}" {{ ftr_geral.isSelected(key, pacela.tipo_calculo) }}>{{ display }}</option>
          {% endfor %}
        </select>
      </label>
      <label class="field field-medium">
        <span class="field-label">{{entry_percentual_calculo}}</span>
        <input type="text" class="field-entry mask-money" name="{{modulo}}_parcelamento_configs[{{pacela.num_parcela}}][percentual_calculo]" value="{{pacela.percentual_calculo}}" maxlength="22">
      </label> 
    </div> 
</div>
{% endfor %}


