Updated Large app how to (markdown)
parent
068fc507d3
commit
47208ced5d
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ and here is the `/app/templates/users/login.html` template:
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
```
|
```
|
||||||
|
|
||||||
This template will use a macro to automate the construction of html fields. This macro will be stored in `/app/forms/macros.html` (since this macro will be called in different modules, we'll store it in a separated file).
|
Those templates will use a macro to automate the construction of html fields. This macro will be stored in `/app/templates/forms/macros.html` (since this macro will be called in different modules, we'll store it in a separated file).
|
||||||
|
|
||||||
```jinja
|
```jinja
|
||||||
{% macro render_field(field) %}
|
{% macro render_field(field) %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue