From 6d805b4f1b538af32e7c76bc1b98c166d4b3b631 Mon Sep 17 00:00:00 2001 From: wernerkrauss Date: Wed, 10 Apr 2019 12:54:43 +0200 Subject: [PATCH] Add MapboxField_holder_small.ss to get the form field work inside a FieldGroup --- .../MapboxField_holder_small.ss | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/Bigfork/SilverStripeMapboxField/MapboxField_holder_small.ss diff --git a/templates/Bigfork/SilverStripeMapboxField/MapboxField_holder_small.ss b/templates/Bigfork/SilverStripeMapboxField/MapboxField_holder_small.ss new file mode 100644 index 0000000..de8ae7e --- /dev/null +++ b/templates/Bigfork/SilverStripeMapboxField/MapboxField_holder_small.ss @@ -0,0 +1,11 @@ +
+ <% if $Title %> + + <% end_if %> +
+ <%-- TODO: change $MessageType to match Bootstraps alert types, e.g. alert-info, alert-danger etc --%> + <% if $Message %><% end_if %> + {$Field} + <% if $Description %>

{$Description}

<% end_if %> +
+