mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
3ead462549
* Enable CSRF protection * fix style issues
15 lines
392 B
PHP
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')
|