From b260912e01dbc7f455c4e510177c8a5dda200026 Mon Sep 17 00:00:00 2001
From: Deon George <deon@dege.au>
Date: Thu, 13 Mar 2025 21:20:57 +1100
Subject: [PATCH] Revert changing buttons in 49fd9b419a

---
 resources/views/components/attribute/widget/options.blade.php | 2 +-
 resources/views/frames/dn.blade.php                           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/resources/views/components/attribute/widget/options.blade.php b/resources/views/components/attribute/widget/options.blade.php
index 977b0a20..5dbccb70 100644
--- a/resources/views/components/attribute/widget/options.blade.php
+++ b/resources/views/components/attribute/widget/options.blade.php
@@ -220,7 +220,7 @@
 			<!-- All other attributes -->
 			@default
 				@php($clone=TRUE)
-				<button @class(['btn','btn-sm','btn-outline-primary','mt-3','addable','d-none'=>(! $new)]) id="{{ $o->name }}-addnew"><i class="fas fa-fw fa-plus"></i> @lang('Add Value')</button>
+				<span @class(['btn','btn-sm','btn-outline-primary','mt-3','addable','d-none'=>(! $new)]) id="{{ $o->name }}-addnew"><i class="fas fa-fw fa-plus"></i> @lang('Add Value')</span>
 
 				@section('page-scripts')
 					@if($clone && $edit && $o->can_addvalues)
diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php
index f53c2827..18f3c81f 100644
--- a/resources/views/frames/dn.blade.php
+++ b/resources/views/frames/dn.blade.php
@@ -178,8 +178,8 @@
 			})
 
 			$('.row.d-none').removeClass('d-none');
-			$('button.addable.d-none').removeClass('d-none');
-			$('button.deletable.d-none').removeClass('d-none');
+			$('span.addable.d-none').removeClass('d-none');
+			$('span.deletable.d-none').removeClass('d-none');
 
 			@if($o->getMissingAttributes()->count())
 				$('#newattr-select.d-none').removeClass('d-none');