Version

Documentation » Admin

14. Lock Protection »

« 12. Virtual Field Descriptions

13. Bootlint

The admin comes with Bootlint integration since version 3.0. Bootlint is an HTML linter for Bootstrap projects.

You should use it when you want add some contributions on Sonata UI to check the eventual Twitter Bootstrap conventions’ mistakes.

13.1. Enable Bootlint

To use Bootlint in your admin, you can enable it in config.yml.

  • YAML
    sonata_admin:
        options:
            use_bootlint:    true # enable Bootlint
    

Then open your browser debugger to look after some Bootlint warnings on console.

No warning? Congrats! Your page is fully Bootstrap compliant! ;)

Found a typo? Something is wrong in this documentation? Just fork and edit it!