Fix CSRF verification for OptionForm

This commit is contained in:
Pig Fang 2018-08-20 23:14:05 +08:00
parent 23b2abdfaf
commit a8fa68a611

View File

@ -3,6 +3,7 @@
<h3 class="box-title">{{ $title }} {!! $hint or '' !!}</h3> <h3 class="box-title">{{ $title }} {!! $hint or '' !!}</h3>
</div><!-- /.box-header --> </div><!-- /.box-header -->
<form method="post"> <form method="post">
@csrf
<input type="hidden" name="option" value="{{ $id }}"> <input type="hidden" name="option" value="{{ $id }}">
<div class="box-body"> <div class="box-body">