<?php if (!defined('ABSPATH')) exit; ?>
<?php echo '<script type="text/ng-template" id="field_body_input_option">'; ?>
    <div class="nbd-field-info" ng-show="check_depend(field.general, field.general.input_option)">
        <div class="nbd-field-info-1">
            <div><label><b><?php esc_html_e('Input option', 'web-to-print-online-designer'); ?></b></label></div>
        </div>
        <div class="nbd-field-info-2">
            <div>
                <table class="nbd-table">
                    <tr>
                        <th><?php esc_html_e('Min', 'web-to-print-online-designer'); ?></th>
                        <th><?php esc_html_e('Max', 'web-to-print-online-designer'); ?></th>
                        <th><?php esc_html_e('Step', 'web-to-print-online-designer'); ?></th>
                        <th><?php esc_html_e('Default', 'web-to-print-online-designer'); ?></th>
                    </tr>
                    <tr>
                        <td>
                            <input class="nbd-short-ip" type="text" string-to-number ng-model="field.general.input_option.value.min" name="options[fields][{{fieldIndex}}][general][input_option][min]"/>
                        </td>
                        <td>
                            <input class="nbd-short-ip" type="text" string-to-number ng-model="field.general.input_option.value.max" name="options[fields][{{fieldIndex}}][general][input_option][max]"/>
                        </td>
                        <td>
                            <input class="nbd-short-ip" type="text" string-to-number ng-model="field.general.input_option.value.step" name="options[fields][{{fieldIndex}}][general][input_option][step]"/>
                        </td>
                        <td>
                            <input class="nbd-short-ip" type="text" string-to-number ng-model="field.general.input_option.value.default" name="options[fields][{{fieldIndex}}][general][input_option][default]"/>
                        </td> 
                    </tr>
                </table>
            </div>
        </div>
    </div>
<?php echo '</script>';