From 82aa06405ce209e9ac686f6f7a614cee19f92e40 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 6 Nov 2017 13:21:59 -0500 Subject: [PATCH] adding required flag to checkboxes custom fields checkboxes were missing the required flags --- views/admin/entity/fields.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/views/admin/entity/fields.html b/views/admin/entity/fields.html index 0628ca7..2c69862 100644 --- a/views/admin/entity/fields.html +++ b/views/admin/entity/fields.html @@ -24,12 +24,13 @@ // 'wpautop' => false, NOTE: Dont's use. Problem when numerous spaces before text. 'textarea_name' => '{$prefix}[{$field.id}]', 'editor_height' => 200, // Height in px, overrides editor_rows - // 'textarea_rows' => 8 + // 'textarea_rows' => 8, + {if $field.required.value == 1}'editor_class' => 'glm-required' {/if} )); {/php} {elseif $field.field_type.name == 'checkbox'} - + {/if} -- 2.17.1