Files
Tony Murray 0959df53e5 Don't use @lang() it doesn't escape the string (#13566)
* Don't use @lang() it doesn't escape the string
Found an issue where a string contained a single quote and broke the page.

* fix regex errors

* fix another style of mis-replacement

* found another issue
2021-11-28 21:17:11 -06:00

15 lines
580 B
PHP

<form role="form" class="dashboard-widget-settings" onsubmit="widget_settings(this); return false;">
@csrf
@yield('form')
<div class="form-group">
<label for="refresh-{{ $id }}" class="control-label">{{ __('Widget refresh interval (s)') }}</label>
<input type="number" step="1" min="1" class="form-control" name="refresh" id="refresh-{{ $id }}" value="{{ $refresh }}">
</div>
<div style="margin-top: 8px;">
<button type="submit" class="btn btn-primary pull-right">{{ __('Save') }}</button>
</div>
</form>
@yield('javascript')