116 lines
4.8 KiB
XML
116 lines
4.8 KiB
XML
<?xml version="1.0"?>
|
|
<carddef id="1" url="https://wcs.dev.publik.love/backoffice/cards/1/">
|
|
<name>Form test - lieux</name>
|
|
<url_name>form-test-lieux</url_name>
|
|
<discussion>false</discussion>
|
|
<detailed_emails>true</detailed_emails>
|
|
<disabled>false</disabled>
|
|
<only_allow_one>false</only_allow_one>
|
|
<enable_tracking_codes>false</enable_tracking_codes>
|
|
<confirmation>false</confirmation>
|
|
<always_advertise>false</always_advertise>
|
|
<include_download_all_button>false</include_download_all_button>
|
|
<has_captcha>false</has_captcha>
|
|
<skip_from_360_view>false</skip_from_360_view>
|
|
<workflow slug="workflow-generique-fiches" workflow_id="4">Workflow form test lieux (fiches)</workflow>
|
|
<max_field_id>6</max_field_id>
|
|
<fields>
|
|
<field>
|
|
<label type="str">Nom</label>
|
|
<type type="str">string</type>
|
|
<required type="bool">True</required>
|
|
<varname type="str">nom</varname>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>summary</display_location>
|
|
</display_locations><prefill>
|
|
<type>none</type>
|
|
</prefill><anonymise type="bool">True</anonymise>
|
|
<id type="str">1</id>
|
|
</field><field>
|
|
<label type="str">Slug de la ressource</label>
|
|
<type type="str">string</type>
|
|
<required type="bool">True</required>
|
|
<varname type="str">slug</varname>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>summary</display_location>
|
|
</display_locations><prefill>
|
|
<type>none</type>
|
|
</prefill><anonymise type="bool">True</anonymise>
|
|
<id type="str">2</id>
|
|
</field><field>
|
|
<label type="str">Adresse</label>
|
|
<type type="str">string</type>
|
|
<required type="bool">True</required>
|
|
<varname type="str">adresse</varname>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>summary</display_location>
|
|
</display_locations><prefill>
|
|
<type>none</type>
|
|
</prefill><anonymise type="bool">True</anonymise>
|
|
<id type="str">6</id>
|
|
</field><field>
|
|
<label type="str">Tél</label>
|
|
<type type="str">string</type>
|
|
<required type="bool">True</required>
|
|
<varname type="str">tel</varname>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>summary</display_location>
|
|
</display_locations><prefill>
|
|
<type>none</type>
|
|
</prefill><anonymise type="bool">True</anonymise>
|
|
<id type="str">3</id>
|
|
</field><field>
|
|
<label type="str">Longitude (GPS)</label>
|
|
<type type="str">string</type>
|
|
<required type="bool">True</required>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>summary</display_location>
|
|
</display_locations><anonymise type="bool">True</anonymise>
|
|
<id type="str">4</id>
|
|
</field><field>
|
|
<label type="str">Latitude (GPS)</label>
|
|
<type type="str">string</type>
|
|
<required type="bool">True</required>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>summary</display_location>
|
|
</display_locations><anonymise type="bool">True</anonymise>
|
|
<id type="str">5</id>
|
|
</field>
|
|
</fields><user-roles>
|
|
<role slug="administrateur-fonctionnel" role_id="dbb1c8e1e00244d7aec152c0f582ce33">Administrateur fonctionnel</role>
|
|
</user-roles><backoffice-submission-roles>
|
|
<role slug="administrateur-fonctionnel" role_id="dbb1c8e1e00244d7aec152c0f582ce33">Administrateur fonctionnel</role>
|
|
</backoffice-submission-roles><roles>
|
|
<role slug="administrateur-fonctionnel" role_id="dbb1c8e1e00244d7aec152c0f582ce33" role_key="_viewer">Administrateur fonctionnel</role>
|
|
<role slug="administrateur-fonctionnel" role_id="dbb1c8e1e00244d7aec152c0f582ce33" role_key="_editor">Administrateur fonctionnel</role>
|
|
</roles><options />
|
|
<custom_views>
|
|
<custom_view>
|
|
<title>listing ressources</title>
|
|
<slug>listing-ressources</slug>
|
|
<visibility>datasource</visibility>
|
|
<filters>
|
|
<filter-1>on</filter-1>
|
|
<filter-1-operator>eq</filter-1-operator>
|
|
<filter-1-value>{{ form_var_ressources_carto }}</filter-1-value>
|
|
</filters><columns>
|
|
<id>id</id>
|
|
<id>time</id>
|
|
<id>1</id>
|
|
</columns><order_by>-receipt_time</order_by>
|
|
</custom_view>
|
|
</custom_views><geolocations>
|
|
<geolocation key="base">Géolocalisation</geolocation>
|
|
</geolocations><digest_templates>
|
|
<template key="default">{{ form_var_nom }}</template>
|
|
<template key="custom-view:vue">{{ form_var_nom }}</template>
|
|
<template key="custom-view:user-vue">{{ form_var_nom }}</template>
|
|
<template key="custom-view:listing-ressources">{{ form_var_slug }}</template>
|
|
</digest_templates>
|
|
</carddef> |