Skip to content

Commit

Permalink
Added docs to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
smithdc1 committed May 21, 2021
1 parent 0c3e1bf commit a50d0f6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ for your project::

CRISPY_TEMPLATE_PACK = "bootstrap5"

## What's new?

Bootstrap 5 introduces [floating labels](https://getbootstrap.com/docs/5.0/forms/floating-labels/).
This template pack include a layout object to use this input type::

from crispy_bootstrap5.bootstrap5 import FloatingField

# then in your Layout
... Layout(
FloatingField("first_name"),
)

## Development

To contribute to this library, first checkout the code. Then create a new virtual environment:
Expand Down

0 comments on commit a50d0f6

Please sign in to comment.