Show current search IP

This commit is contained in:
Zero 2021-11-26 14:38:06 +08:00
parent 4e63554cc6
commit e686b2cf3c

View File

@ -51,7 +51,7 @@
<div class="form-group ml-auto">
<label for="ip">{{ trans('settings.ip_address') }}</label>
@include('form.text', ['name' => 'ip'])
@include('form.text', ['name' => 'ip', 'model' => $listDetails['ip'] ? \BookStack\Actions\Activity::query()->where(['ip' => $listDetails['ip']])->first() : null])
<input type="submit" style="display: none">
</div>
</form>