creativetimofficial / ct-paper-dashboard-pro

Paper Dashboard PRO
6 stars 2 forks source link

Checkboxes doesn't follow bootstrap style #33

Closed bettinz closed 5 years ago

bettinz commented 5 years ago

Hello, I'm using your theme with symfony 4 and twig. The issue is that symfony generate the checkboxes in "bootstrap way", so, for example:

<div class="form-check">
  <input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
  <label class="form-check-label" for="defaultCheck1">
    Default checkbox
  </label>
</div>
<div class="form-check">
  <input class="form-check-input" type="checkbox" value="" id="defaultCheck2" disabled>
  <label class="form-check-label" for="defaultCheck2">
    Disabled checkbox
  </label>
</div>

In your theme checkboxes are generated in another way:

<div class="form-check">
    <label class="form-check-label">
        <input class="form-check-input" type="checkbox" value="">
        Option one is this and that&mdash;be sure to include why it's great
        <span class="form-check-sign">
            <span class="check"></span>
        </span>
    </label>
</div>
<div class="form-check disabled">
    <label class="form-check-label">
        <input class="form-check-input" type="checkbox" value="" disabled>
        Option two is disabled
        <span class="form-check-sign">
            <span class="check"></span>
        </span>
    </label>
</div>

Then is inside

Thanks

groovemen commented 5 years ago

Hello @bettinz,

Thank you for using our products, all you have to do is to take our style and functionality and adapt to the classic bootstrap behavior.

Best, Stefan