diff --git a/views/field.html b/views/field.html index 3984ce5..f1fddd0 100644 --- a/views/field.html +++ b/views/field.html @@ -1,7 +1,7 @@ {% extends "layouts/main.html" %} {% block main %} -
+
-
-
Nom du champ
-
- -
-
+
+
+
Nom du champ
+
+ +
+
-
-
Population
-
- {% for Key, Value in PersonTypes %} - {% if Key == Field.PersonType %} - - {% endif %} - {% endfor %} -
-
+
+
Population
+
+ {% for Key, Value in PersonTypes %} + {% if Key == Field.PersonType %} + + {% endif %} + {% endfor %} +
+
-
-
Type de champ
-
- {% for Key, Value in FieldTypes %} - {% if Key == Field.FieldType %} - - {% endif %} - {% endfor %} -
-
+
+
Type de champ
+
+ {% for Key, Value in FieldTypes %} + {% if Key == Field.FieldType %} + + {% endif %} + {% endfor %} +
+
-
-
Liste
-
- {% if Field.ListID %} - - {% else %} -
- - - - -
- {% endif %} -
-
+
+
Liste
+
+ {% if Field.ListID %} + + {% else %} +
+ + + + +
+ {% endif %} +
+
-
- -
- -
-
+
+ +
+ +
+
+
- {% endblock %} diff --git a/views/field_form.html b/views/field_form.html index 49547f6..df7e98e 100644 --- a/views/field_form.html +++ b/views/field_form.html @@ -1,7 +1,7 @@ {% extends "layouts/main.html" %} {% block main %} -
+
- {% if Errors %} -
-
    - {% for Error in Errors %} -
  • {{ Error }}
  • - {% endfor %} -
-
- {% endif %} +
+ {% if Errors %} +
+
    + {% for Error in Errors %} +
  • {{ Error }}
  • + {% endfor %} +
+
+ {% endif %} - -
+
{% if !Field.ID %} -
+
@@ -70,7 +70,7 @@
-
+
@@ -91,7 +91,7 @@
-
+
-
+
Liste à choix multiples
{% if List.Multi %} @@ -80,7 +80,7 @@
-
+
+
- {% if Errors %} -
-
    - {% for Error in Errors %} -
  • {{ Error }}
  • - {% endfor %} -
-
- {% endif %} + + {% if Errors %} +
+
    + {% for Error in Errors %} +
  • {{ Error }}
  • + {% endfor %} +
+
+ {% endif %} - -
- -
+
+ +
-
-
+
+
{% endif %} -
- +
+
-
+
-
+
- {% endif %} - {% endif %} -
-
- {% if Person.DeletedAt.Valid %} + {% if PermConvert %} + + {% endif %} + {% endif %} +
+
+ {% if Person.DeletedAt.Valid %} - {% if PermRestore %} - - {% endif %} - {% else %} + {% if PermRestore %} + + {% endif %} + {% else %} - {% if PermArchive %} - - {% endif %} - {% endif %} + {% if PermArchive %} + + {% endif %} + {% endif %} - {% if PermPurge %} - - {% endif %} -
-
- {% else %} -
-
- {% if !Person.DeletedAt.Valid %} + {% if PermPurge %} + + {% endif %} +
+
+ {% else %} +
+
+ {% if !Person.DeletedAt.Valid %} - {% if PermEdit %} - - - Modifier - - {% endif %} + {% if PermEdit %} + + + Modifier + + {% endif %} - {% if PermConvert %} - - {% endif %} - {% endif %} -
-
- {% if Person.DeletedAt.Valid %} + {% if PermConvert %} + + {% endif %} + {% endif %} +
+
+ {% if Person.DeletedAt.Valid %} - {% if PermRestore %} - - {% endif %} - {% else %} + {% if PermRestore %} + + {% endif %} + {% else %} - {% if PermArchive %} - - {% endif %} - {% endif %} + {% if PermArchive %} + + {% endif %} + {% endif %} - {% if PermPurge %} - - {% endif %} -
-
- {% endif %} -
-
+ {% if PermPurge %} + + {% endif %} +
+
+ {% endif %} +
+
+