8000 Merge pull request #69 from LUS24/patch-1 · tecladocode/web-dev-bootcamp@76f9f8b · GitHub
[go: up one dir, main page]

Skip to content

Commit 76f9f8b

Browse files
authored
Merge pull request #69 from LUS24/patch-1
2 parents 682f9f9 + 155e9a2 commit 76f9f8b

File tree

1 file changed

+3
-3
lines changed
  • curriculum/section14/lectures/07_render_wtform_with_jinja_macros

1 file changed

+3
-3
lines changed

curriculum/section14/lectures/07_render_wtform_with_jinja_macros/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ For now, the `POST` request does nothing. Let's render our form first, and handl
5050

5151
## How to render a WTForms field
5252

53-
First things first, let's create our `templates/new_form.html` file. This is where our form will live:
53+
First things first, let's create our `templates/new_movie.html` file. This is where our form will live:
5454

5555
```jinja2
5656
{% extends "layout.html" %}
@@ -131,7 +131,7 @@ Let's create `templates/macros/fields.html` and place this inside it:
131131
{% endmacro %}
132132
```
133133

134-
Now we can just import that from `templates/new_form.html` and use it three times, once per field:
134+
Now we can just import that from `templates/new_movie.html` and use it three times, once per field:
135135

136136
```jinja2
137137
{% from "macros/fields.html" import render_text_field %}
@@ -386,4 +386,4 @@ Finally, we need to add button styling:
386386

387387
And with that, we're done! Quite a lot of CSS, but not many new properties that you haven't seen before.
388388

389-
As usual, I recommend you code along with me and play around with the CSS properties we're using. Make the design your own by changing certain parts, and truly understand what each property is doing!
389+
As usual, I recommend you code along with me and play around with the CSS properties we're using. Make the design your own by changing certain parts, and truly understand what each property is doing!

0 commit comments

Comments
 (0)
0