8 |
11 |
12 | {%- for category, message in get_flashed_messages(with_categories=true) %}
13 |
14 | {{ message }}
15 |
16 | {%- endfor %}
17 |
18 |
19 |
20 |
21 |
22 | Name |
23 | Email |
24 | Phone |
25 |
26 |
27 |
28 | {% for contact in contacts %}
29 |
30 | {{ contact.name }} |
31 | {{ contact.email }} |
32 | {{ contact.phone }} |
33 |
34 | {% endfor %}
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/Chapter07/roles/phonebook/files/phonebook-docker/templates/new.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
11 |
12 | {%- for category, message in get_flashed_messages(with_categories=true) %}
13 |
14 | {{ message }}
15 |
16 | {%- endfor %}
17 |
18 |
38 |