Skip to content

Commit

Permalink
fixed typos in readme day 89
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikerniker committed Mar 30, 2024
1 parent 381aae9 commit 50d4266
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Day89/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@
owner_id=current_user.id,
owner=current_user,
```
- Keep getting the documentation for flask-bootstrap and bootstrap-flask confused, mental note: this is the documentation I use for bootstrap 5 so as not to get confused:
- Keep getting the documentation for flask-bootstrap and bootstrap-flask confused, mental note: so as not to get confused, this is the documentation I use for bootstrap 4/ 5 :
[Bootstrap-Flask](https://bootstrap-flask.readthedocs.io/en/stable/migrate/)
- For Bootstrap 4 & 5
- Make bootstrap container rounded at rounded-number [Rounded container](https://mdbootstrap.com/learn/mdb-foundations/bootstrap/rounded-corners/#:~:text=In%20Bootstrap%2C%20it's%20very%20easy,class%20rounded%2D4%20or%20similar.)
- To make bootstrap container rounded: [Rounded container](https://mdbootstrap.com/learn/mdb-foundations/bootstrap/rounded-corners/#:~:text=In%20Bootstrap%2C%20it's%20very%20easy,class%20rounded%2D4%20or%20similar.)
- To format jinja strftime example: ```{{ todo["start_time"].strftime('%H:%M') }}```

## References:
- [Contenteditable Reference](https://www.w3schools.com/tags/att_global_contenteditable.asp)
- To fix sizing and alignment with [render_field](https://bootstrap-flask.readthedocs.io/en/stable/macros/#render_field) with
- [Content Editable Reference](https://www.w3schools.com/tags/att_global_contenteditable.asp)
- To fix sizing and alignment with [render_field](https://bootstrap-flask.readthedocs.io/en/stable/macros/#render_field) :
- ```{{ render_field(form.email, form_type="horizontal", horizontal_columns=('lg', 2, 8)) }}```
- ```form_type="horizontal"``` aligns the label with the input
- ```horizontal_columns=('lg', 2, 8)``` allows the size of the column size of the label (2) and input (8) to be adjusted
- ```horizontal_columns=('lg', 2, 8)``` allows the size of the column size of the label (2) and input (8) to be adjusted.

0 comments on commit 50d4266

Please sign in to comment.