summaryrefslogtreecommitdiff
path: root/lib/model/section.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/model/section.ml')
-rw-r--r--lib/model/section.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/model/section.ml b/lib/model/section.ml
new file mode 100644
index 0000000..9e871e3
--- /dev/null
+++ b/lib/model/section.ml
@@ -0,0 +1,7 @@
+type 'a t = {
+ label : Field.textI18n;
+ icon : unit option;
+ criteria : string list Dsl.t option;
+ (** Display the section when the criteria is valid*)
+ fields : 'a Field.t list;
+}