title
/h_tag
¶
The title
attribute is for setting the title or heading of a component. To customize the exact rendering you use h_tag
.
title
¶
form = Form.create(
auto__model=Artist,
title='Custom title',
)
▼ Hide result
h_tag
¶
form = Form.create(
auto__model=Artist,
h_tag__attrs__style__background='blue',
)
▼ Hide result