Add check for 15 characters netbios name in workgroup panel

This commit is contained in:
Brian Read 2025-01-25 14:41:21 +00:00
parent f6fe2216a0
commit c2d677594b

View File

@ -24,7 +24,7 @@
<span class=label> <span class=label>
%=l 'wkg_LABEL_WORKGROUP', class => 'label' %=l 'wkg_LABEL_WORKGROUP', class => 'label'
</span><span class=data> </span><span class=data>
%= 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"
</span> </span>
</p> </p>
<p> <p>
@ -63,4 +63,4 @@
% end % end
</div> </div>
%end %end