.. _iommi_style: `iommi_style` ------------- The :ref:`style` system is what you normally use to specify how your product should look and behave, but sometimes you want something more limited for just one or a few places. You can then specify a :doc:`Style` object directly on a component: .. code-block:: python from iommi.style_bootstrap5 import bootstrap5 form = Form( auto__model=Album, iommi_style=Style( bootstrap5, # Based on the bootstrap style Field=dict( input__attrs__style__background='blue', ) ) ) .. raw:: html
▼ Hide result
Toggle structure