Bug 33798: Add colons after the labels on the edit form

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-06-01 08:52:55 +02:00 committed by Tomas Cohen Arazi
parent a59f757fd7
commit 5be54fc9e6
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 7 additions and 7 deletions

View File

@ -584,13 +584,13 @@
n.append(`<input type="hidden" name="interface_counter" value="${i}" />`);
let ol = $('<ol class="interface-form"></ol>');
let attributes = [
{ label: _("Name"), name: 'name', node: 'input' },
{ label: _("Type"), name: 'type', node: 'av_select', av_cat: 'VENDOR_INTERFACE_TYPE' },
{ label: _("URI"), name: 'uri', node: 'input' },
{ label: _("Login"), name: 'login', node: 'input' },
{ label: _("Password"), name: 'password', node: 'input' },
{ label: _("Account email"), name: 'account_email', node: 'input' },
{ label: _("Notes"), name: 'notes', node: 'textarea' }
{ label: _("Name:"), name: 'name', node: 'input' },
{ label: _("Type:"), name: 'type', node: 'av_select', av_cat: 'VENDOR_INTERFACE_TYPE' },
{ label: _("URI:"), name: 'uri', node: 'input' },
{ label: _("Login:"), name: 'login', node: 'input' },
{ label: _("Password:"), name: 'password', node: 'input' },
{ label: _("Account email:"), name: 'account_email', node: 'input' },
{ label: _("Notes:"), name: 'notes', node: 'textarea' }
];
attributes.forEach((attribute, ii) => {
let li = $('<li></li>');