Skip to content

Commit

Permalink
fix edit site
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclems committed Oct 23, 2020
1 parent bd47003 commit 4f7d1ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config/monitoring/generic/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,8 @@
"required": true
},
"id_sites_group": {
"type_widget": "datalist",
"attribut_label": "Groupe de sites",
"hidden": true,
"type_util": "sites_group",
"keyValue": "id_sites_group",
"keyLabel": "sites_group_name",
"api": "__MONITORINGS_PATH/list/__MODULE.MODULE_CODE/sites_group?id_module=__MODULE.ID_MODULE",
"application": "GeoNature"
"type_widget": "text",
"hidden": true
},
"id_nomenclature_type_site": {
"type_widget": "datalist",
Expand Down
11 changes: 11 additions & 0 deletions contrib/sites_group_aside/site.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
{
"geometry_type": "Point",
"specific": {
"id_sites_group": {
"type_widget": "datalist",
"attribut_label": "Groupe de sites",
"hidden": true,
"type_util": "sites_group",
"keyValue": "id_sites_group",
"keyLabel": "sites_group_name",
"api": "__MONITORINGS_PATH/list/__MODULE.MODULE_CODE/sites_group?id_module=__MODULE.ID_MODULE",
"application": "GeoNature",
"required": false
},
"id_nomenclature_type_site": {
"type_widget": "datalist",
"attribut_label": "Type site",
Expand Down

0 comments on commit 4f7d1ec

Please sign in to comment.