Fix tooltips
This commit is contained in:
parent
4d3c6c7a13
commit
4bc9d4cdce
2 changed files with 14 additions and 4 deletions
|
@ -136,7 +136,7 @@
|
|||
<div class="form-group">
|
||||
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
||||
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>
|
||||
<input value="{{ old('minimum_credits') ?? -1 }}" id="minimum_credits"
|
||||
name="minimum_credits" type="number"
|
||||
|
@ -211,6 +211,11 @@
|
|||
</section>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
$('[data-toggle="popover"]').popover();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@endsection
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
<div class="form-group">
|
||||
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
||||
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>
|
||||
<input value="{{ $product->minimum_credits }}" id="minimum_credits"
|
||||
name="minimum_credits" type="number"
|
||||
|
@ -192,8 +192,8 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label for="allocations">Allocations</label>
|
||||
<input value="{{ $product->allocations }}" id="allocations" name="allocations"
|
||||
type="number"
|
||||
<input value="{{ $product->allocations }}" id="allocations"
|
||||
name="allocations" type="number"
|
||||
class="form-control @error('allocations') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('allocations')
|
||||
|
@ -220,6 +220,11 @@
|
|||
</section>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
$('[data-toggle="popover"]').popover();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@endsection
|
||||
|
|
Loading…
Add table
Reference in a new issue