[PLUGINS] ~maj globale
[lhc/web/www.git] / www / plugins / formidable / http / collectionjson / formulaires-ressource.html
diff --git a/www/plugins/formidable/http/collectionjson/formulaires-ressource.html b/www/plugins/formidable/http/collectionjson/formulaires-ressource.html
new file mode 100644 (file)
index 0000000..35f9e07
--- /dev/null
@@ -0,0 +1,11 @@
+<BOUCLE_formulaire(FORMULAIRES){id_formulaire}{statut?}>
+{
+       "collection": {
+               "version": "1.0",
+               "href": "[(#VAL{&}|self|url_absolue)]",
+               "items": [
+                       <INCLURE{fond=http/collectionjson/inc-formulaire, id_formulaire, mode, url_self=#SELF}>
+               ]
+       }
+}
+</BOUCLE_formulaire>