Theme for semantic ui
``` bash $ composer require jpass/theme-bundle@dev, (*1)
### 2. Enable the bundle Enable the bundle in the kernel ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Jpass\ThemeBundle\JpassThemeBundle(), // ... ); }
In app/config/config.yml:, (*2)
``` yaml, (*3)
twig: ... form_themes: - 'JpassThemeBundle:theme:_form.html.twig' globals: theme: 'JpassThemeBundle:theme:layout.html.twig', (*4)
knp_menu: ... twig: template: 'JpassThemeBundle:theme:_menu.html.twig', (*5)
## Usage In your twig files ``` twig {% extends theme %} {# ... #}