From 22d9bd6092d9c567c44c5a231ed8499eb5256670 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 15 Jul 2019 16:51:30 -0400 Subject: [PATCH] Update for UI Elements Add callout.html for setting update add error notice on the top of forms. --- views/ui/f6/callout.html | 17 +++++++++++++++++ views/ui/f6/checkbox.html | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 views/ui/f6/callout.html diff --git a/views/ui/f6/callout.html b/views/ui/f6/callout.html new file mode 100644 index 00000000..ed1c4465 --- /dev/null +++ b/views/ui/f6/callout.html @@ -0,0 +1,17 @@ +{* + Foundation 6 Callout Notice + + {$ui = [ + 'label' => string Label text for this Callout, + 'active' => string True or False if this notice is active + 'type' => string Success, Warning, Alert, Primary or Secondary + ]} +*} +{if $ui.active} +
+ +

{$ui.label}

+
+{/if} diff --git a/views/ui/f6/checkbox.html b/views/ui/f6/checkbox.html index a7002120..01fd03bd 100644 --- a/views/ui/f6/checkbox.html +++ b/views/ui/f6/checkbox.html @@ -30,8 +30,8 @@ > -- 2.17.1