diff --git a/resources/lang/en/admin/settings/general.php b/resources/lang/en/admin/settings/general.php
index e969dd93c..fe69275c1 100644
--- a/resources/lang/en/admin/settings/general.php
+++ b/resources/lang/en/admin/settings/general.php
@@ -336,11 +336,8 @@ return [
'label2_2d_type_help' => 'Format for 2D barcodes',
'label2_2d_target' => '2D Barcode Target',
'label2_2d_target_help' => 'The URL the 2D barcode points to when scanned',
- 'label2_fields' => 'Fields Definition',
- 'label2_fields_help' => 'Fields to show on the label in the format Label=asset_field
',
- 'label2_fields_help_semi' => 'Use ;
to separate fields',
- 'label2_fields_help_pipe' => 'Use |
to allow multiple options in each field. For example Name=name|Nickname=_snipeit_my_custom_field_2
will use name
if a value is set, otherwise it will use _snipeit_my_custom_field_2
. This is useful to ensure field order',
- 'label2_fields_help_once' => 'Each field will only be selected once per label',
+ 'label2_fields' => 'Field Definitions',
+ 'label2_fields_help' => 'Fields can be added, removed, and reordered in the left column. For each field, multiple options for Label and DataSource can be added, removed, and reordered in the right column.',
'help_asterisk_bold' => 'Text entered as **text**
will be displayed as bold',
'help_blank_to_use' => 'Leave blank to use the value from :setting_name
',
diff --git a/resources/views/partials/label2-field-definitions.blade.php b/resources/views/partials/label2-field-definitions.blade.php
new file mode 100644
index 000000000..ebd29ffe0
--- /dev/null
+++ b/resources/views/partials/label2-field-definitions.blade.php
@@ -0,0 +1,337 @@
+@once
+ @push('js')
+
+ @endpush
+ @push('css')
+
+ @endpush
+@endonce
+
+@push('js')
+
+@endpush
+@php
+ $selector = '[x-data="'.$name.'"]';
+@endphp
+@push('css')
+
+@endpush
+
+