• Salvatore Noschese

    (@salvatorenoschese)


    
                        <div class="<?php echo ( true === cscf_PluginSettings::InputIcons() ) ? "input-group" : ""; ?>">
    						<?php if ( cscf_PluginSettings::InputIcons() == true ) { ?>
                                <span class="input-group-addon"><span class="glyphicon glyphicon-comment"></span></span>
    						<?php } ?>
                            <input <?php echo ( true == $contact->EmailToSender ) ? 'checked' : ''; ?> type="checkbox"
                                                                                                       id="cscf_email-sender"
                                                                                                       name="cscf[email-sender]">
                        </div>
    
    Otuput:
    <div class="">
    <input type="checkbox" id="cscf_email-sender" name="cscf[email-sender]"></div>

    This part is inside a div, then go in new line.
    Atm i’ve just disabled via html comment, but need to be fixed.

                        <!--<div class="<?php echo ( true === cscf_PluginSettings::InputIcons() ) ? "input-group" : ""; ?>">-->
    ...
                        <!--</div>-->
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Checkbox are inside a div, then go in new line.’ is closed to new replies.