From c2d677594bbafaa8a5870e6b097738b136bf0994 Mon Sep 17 00:00:00 2001
From: Brian Read
Date: Sat, 25 Jan 2025 14:41:21 +0000
Subject: [PATCH] Add check for 15 characters netbios name in workgroup panel
---
.../share/smanager/themes/default/templates/workgroup.html.ep | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/root/usr/share/smanager/themes/default/templates/workgroup.html.ep b/root/usr/share/smanager/themes/default/templates/workgroup.html.ep
index 1698bce..7ef735e 100644
--- a/root/usr/share/smanager/themes/default/templates/workgroup.html.ep
+++ b/root/usr/share/smanager/themes/default/templates/workgroup.html.ep
@@ -24,7 +24,7 @@
%=l 'wkg_LABEL_WORKGROUP', class => 'label'
- %= text_field 'Workgroup' => $wkg_datas->{Workgroup}, class => 'input'
+ %= text_field 'Workgroup' => $wkg_datas->{Workgroup}, class => 'input' , pattern=>".{1,15}", title=>"Limited to 15 characters by the NETBIOS"
@@ -63,4 +63,4 @@
% end
-%end
+%end
\ No newline at end of file