Fix tooltips
This commit is contained in:
parent
4d3c6c7a13
commit
4bc9d4cdce
|
@ -136,7 +136,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
||||||
data-toggle="popover" data-trigger="hover"
|
data-toggle="popover" data-trigger="hover"
|
||||||
data-content="Setting to -1 will use the default value."
|
data-content="Setting to -1 will use the value from configuration."
|
||||||
class="fas fa-info-circle"></i></label>
|
class="fas fa-info-circle"></i></label>
|
||||||
<input value="{{ old('minimum_credits') ?? -1 }}" id="minimum_credits"
|
<input value="{{ old('minimum_credits') ?? -1 }}" id="minimum_credits"
|
||||||
name="minimum_credits" type="number"
|
name="minimum_credits" type="number"
|
||||||
|
@ -211,6 +211,11 @@
|
||||||
</section>
|
</section>
|
||||||
<!-- END CONTENT -->
|
<!-- END CONTENT -->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
$('[data-toggle="popover"]').popover();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
||||||
data-toggle="popover" data-trigger="hover"
|
data-toggle="popover" data-trigger="hover"
|
||||||
data-content="Setting to -1 will use the default value."
|
data-content="Setting to -1 will use the value from configuration."
|
||||||
class="fas fa-info-circle"></i></label>
|
class="fas fa-info-circle"></i></label>
|
||||||
<input value="{{ $product->minimum_credits }}" id="minimum_credits"
|
<input value="{{ $product->minimum_credits }}" id="minimum_credits"
|
||||||
name="minimum_credits" type="number"
|
name="minimum_credits" type="number"
|
||||||
|
@ -192,8 +192,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="allocations">Allocations</label>
|
<label for="allocations">Allocations</label>
|
||||||
<input value="{{ $product->allocations }}" id="allocations" name="allocations"
|
<input value="{{ $product->allocations }}" id="allocations"
|
||||||
type="number"
|
name="allocations" type="number"
|
||||||
class="form-control @error('allocations') is-invalid @enderror"
|
class="form-control @error('allocations') is-invalid @enderror"
|
||||||
required="required">
|
required="required">
|
||||||
@error('allocations')
|
@error('allocations')
|
||||||
|
@ -220,6 +220,11 @@
|
||||||
</section>
|
</section>
|
||||||
<!-- END CONTENT -->
|
<!-- END CONTENT -->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
$('[data-toggle="popover"]').popover();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
Loading…
Reference in a new issue