From 56f07009993667af32d1485201328bc121efcad9 Mon Sep 17 00:00:00 2001 From: Nicolas CARON Date: Mon, 14 Oct 2024 09:59:33 +0200 Subject: [PATCH] edit web/layouts/agenda/_partials/event-files.html --- web/layouts/agenda/_partials/event-files.html | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/web/layouts/agenda/_partials/event-files.html b/web/layouts/agenda/_partials/event-files.html index faf6585..e404b8c 100644 --- a/web/layouts/agenda/_partials/event-files.html +++ b/web/layouts/agenda/_partials/event-files.html @@ -3,16 +3,19 @@ x-data="{ fields: { name: null, + type: null, file: null, }, rules: { name: ['required'], + type: ['required'], file: ['required'], }, formValidation: { valid: false, fields: { name: {valid: null}, + type: {valid: null}, file: {valid: null}, } }, @@ -35,8 +38,7 @@ x-data="{ {{if eq (len .ViewState.documents) 0}}

Aucun document

{{end}} - - + {{if gt (len .ViewState.documents) 0}}
@@ -74,11 +76,22 @@ x-data="{

Ajouter un document

+
+ + +