placeholder and regexp

This commit is contained in:
2024-04-09 15:36:30 +01:00
parent 3c268d40ae
commit 2ff5681988
3 changed files with 58 additions and 12 deletions

View File

@@ -45,10 +45,10 @@
<br></span> </p>
<p>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</p>
<span class=label>
%=l('NFS Client(s) allowed.')
%=l('NFS Client(s) allowed')
</span><span class=data>
% param 'NFSClientsAllowed' => $nfs_data->{NFSClientsAllowed} unless param 'NFSClientsAllowed';
%= text_area 'NFSClientsAllowed', cols=>50, rows=>15
%= text_area 'NFSClientsAllowed', cols=>40, rows=>5
</span><br>
<p><span class=label>
@@ -103,20 +103,20 @@
%=l('Set the UID.')
</span><span class=data>
% param 'SetUID' => $nfs_data->{SetUID} unless param 'SetUID';
%= text_field 'SetUID', size => '60', class => 'input'
%= text_field 'SetUID', size => '50', class => 'input' , pattern=>'.*' , placeholder=>'SetUID'
<br></span></p>
<p><span class=label>
%=l('Set the GID.')
</span><span class=data>
% param 'SetGID' => $nfs_data->{SetGID} unless param 'SetGID';
%= text_field 'SetGID', size => '60', class => 'input'
%= text_field 'SetGID', size => '50', class => 'input' , pattern=>'.*' , placeholder=>'SetGID'
<br></span></p>
<span class='data'>
%= submit_button l('Save'), class => 'action'
</span>
<span class='data'>
%= submit_button l('Save'), class => 'action'
</span>
%# Probably finally by a submit.
% end
</div>