Revert changing buttons in 49fd9b419a
This commit is contained in:
parent
7debd9ff2b
commit
b260912e01
@ -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)
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user