From b16c495f172cc04f267bd1cab2b49189f96fe8ef Mon Sep 17 00:00:00 2001 From: tofulm Date: Tue, 18 Feb 2020 14:59:18 +0100 Subject: [PATCH] =?UTF-8?q?am=C3=A9lioration=20cvt=20button=20submit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UltiSnips/html.snippets | 7 ++++--- html.json | 7 ++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets index 36f50f9..06ec6b8 100755 --- a/UltiSnips/html.snippets +++ b/UltiSnips/html.snippets @@ -165,13 +165,14 @@ snippet cvt "SPIP formulaire CVT" [

(#ENV*{message_erreur})

] [

(#ENV*{message_ok})

] -[(#ENV{editable}|oui) ]
#ACTION_FORMULAIRE{#ENV{action}} - ${1} + ${0} -

+
+ +
diff --git a/html.json b/html.json index 806cd8c..c154f0a 100644 --- a/html.json +++ b/html.json @@ -14,6 +14,11 @@ "body": "`!p t[2] = t[2].upper()`\n\t${5}\n\n\t$0\n\n\t${6}\n", "description": "SPIP " }, + "aa": { + "prefix": "aa", + "body": "[(1)]${0}", + "description": "[(xxx)]" + }, "icon": { "prefix": "icon", "body": "#ICON{img/sprite_symbol_pictos.svg#${1},${2:icon-font}${3:,mon title}}${0}", @@ -125,7 +130,7 @@ }, "cvt": { "prefix": "cvt", - "body": "
\n\n[

(#ENV*{message_erreur})

]\n[

(#ENV*{message_ok})

]\n\n[(#ENV{editable}|oui) ]\n\t
\n\t\t#ACTION_FORMULAIRE{#ENV{action}}\n\n\t\t\t${1}\n\n\t

\n\t
\n\n
", + "body": "
\n\n[

(#ENV*{message_erreur})

]\n[

(#ENV*{message_ok})

]\n\n\t
\n\t\t#ACTION_FORMULAIRE{#ENV{action}}\n\n\t\t\t${0}\n\n\t\t
\n\t\t\t\n\t\t
\n\t
\n\n
", "description": "SPIP formulaire CVT" }, "cvttext": {