This commit is contained in:
pushuo 2022-08-26 15:05:11 +08:00
parent dc16ece325
commit c57b96ba8d
2 changed files with 1 additions and 12 deletions

View File

@ -50,7 +50,7 @@
{{ trans($entry_key . 'db_host_label') }}
</label>
<input class="form-control {{ $errors->has('database_hostname') ? 'is-invalid' : '' }}" name="database_hostname"
value="{{ old('database_hostname', 'localhost') }}" required placeholder="{{ trans($entry_key . 'db_host_placeholder') }}">
value="{{ old('database_hostname', '127.0.0.1') }}" required placeholder="{{ trans($entry_key . 'db_host_placeholder') }}">
<span class="invalid-feedback"
role="alert">{{ $errors->has('database_hostname') ? $errors->first('database_hostname') : __('common.error_required', ['name' => trans($entry_key . 'db_host_label')]) }}</span>
</div>

View File

@ -71,17 +71,6 @@
</aside>
<div class="content">
@if (session('message'))
<p class="alert text-center">
<strong>
@if (is_array(session('message')))
{{ session('message')['message'] }}
@else
{{ session('message') }}
@endif
</strong>
</p>
@endif
@if (session()->has('errors'))
<div class="alert alert-danger" id="error_alert">
@foreach ($errors->all() as $error)