Files
librenms-librenms/resources/views/widgets/settings/base.blade.php
T
Tony Murray 3ead462549 Enable CSRF protection (#10447)
* Enable CSRF protection

* fix style issues
2019-07-17 07:20:26 -05:00

15 lines
392 B
PHP

<form role="form" class="dashboard-widget-settings" onsubmit="widget_settings(this); return false;">
@csrf
@yield('form')
@hassection('form')
<div style="margin-top: 8px;">
<button type="submit" class="btn btn-primary pull-right">@lang('Save')</button>
</div>
@else
No settings for this widget
@endif
</form>
@yield('javascript')