- {% if Fields %}
-
-
-
-
- | Nom |
- Population |
- Type de champ |
-
-
-
- {% for Field in Fields %}
-
- |
-
- {{ Field.Name }}
-
- |
-
- {% for Key, Value in PersonTypes %}
- {% if Key == Field.PersonType %}
- {{ Value }}
- {% endif %}
- {% endfor %}
- |
-
- {% for Key, Value in FieldTypes %}
- {% if Key == Field.FieldType %}
- {{ Value }}
- {% endif %}
- {% endfor %}
- |
-
- {% endfor %}
-
-
-
- {% else %}
-
- Pas de champs pour le moment
-
- {% endif %}
-
-
+
+
Membres
+
+
+
+
+ | Nom |
+ Type de champ |
+
+
+
+ {% for Field in Fields %}
+ {% if Field.PersonType == "member" %}
+
+ |
+
+ {{ Field.Name }}
+
+ |
+
+ {% for Key, Value in FieldTypes %}
+ {% if Key == Field.FieldType %}
+ {{ Value }}
+ {% endif %}
+ {% endfor %}
+ |
+
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
Contacts
+
+
+
+
+ | Nom |
+ Type de champ |
+
+
+
+ {% for Field in Fields %}
+ {% if Field.PersonType == "contact" %}
+
+ |
+
+ {{ Field.Name }}
+
+ |
+
+ {% for Key, Value in FieldTypes %}
+ {% if Key == Field.FieldType %}
+ {{ Value }}
+ {% endif %}
+ {% endfor %}
+ |
+
+ {% endif %}
+ {% endfor %}
+
+
+
+
{% endblock %}
diff --git a/views/lists.html b/views/lists.html
index f973e78..e0da9de 100644
--- a/views/lists.html
+++ b/views/lists.html
@@ -1,7 +1,7 @@
{% extends "layouts/main.html" %}
{% block main %}
-
+
+
+
{% if Lists %}
- | Nom |
- Choix multiples |
+ Nom |
+ Choix multiples |
@@ -32,8 +39,10 @@
{% if List.Multi %}
+
Oui
{% else %}
+
Non
{% endif %}
|
@@ -48,12 +57,5 @@
{% endif %}
-
-
{% endblock %}
diff --git a/views/people.html b/views/people.html
index 8695a31..9d4802f 100644
--- a/views/people.html
+++ b/views/people.html
@@ -1,7 +1,7 @@
{% extends "layouts/main.html" %}
{% block main %}
-
+