diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-12 18:42:44 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-12 18:42:44 -0500 |
| commit | 425bbdb24d68ec4c1ed83c51f7b08de32ab50bd0 (patch) | |
| tree | 0b9aaefea81cb761da7f9744f78d1e648051f65d | |
| parent | 92cb8cbe8d516d6b14d38ff45a1781ff1d90663c (diff) | |
| download | famille-flask-425bbdb24d68ec4c1ed83c51f7b08de32ab50bd0.tar.gz | |
do not show kadoscope for papa et maman
| -rw-r--r-- | templates/user/edit.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/user/edit.html b/templates/user/edit.html index ce2c95f..fb6296a 100644 --- a/templates/user/edit.html +++ b/templates/user/edit.html @@ -1,10 +1,12 @@ {% extends 'layout.html' %} {% block content %} +{% if user.user_name not in ["Maman","Papa"] %} <h2>Kadoscope</h2> <p>Cliquer sur le cadeau ci-dessous pour découvrir le nom de l'heureux élu qui recevra un cadeau de votre part.</p> <p class="kadoscope">{{user.kado}}</p> <p id="kadobutton"></p> +{% endif %} <h2>Paramètres du Compte</h2> <form method="post" action="{{url_for('edit_user')}}" class="userform"> <fieldset> |
