<div class="tab-pane mt-3 fade" id="ratingStars" role="tabpanel" aria-labelledby="ratingStars-tab">
    <div class="row">
        <div class="col-12 col-lg-8 col-xl-6">
            <div class="alert alert-info">
                {{ trans('admin/main.rating_stars_intro') }}
            </div>

            <form action="{{ getAdminPanelUrl('/users/' . $user->id . '/manual-profile-rating') }}" method="POST">
                {{ csrf_field() }}

                <div class="form-group">
                    <label>{{ trans('admin/main.profile_manual_rating_label') }}</label>
                    <input type="number" step="0.01" min="0" max="5" name="profile_admin_rating"
                           value="{{ old('profile_admin_rating', isset($user->profile_admin_rating) ? $user->profile_admin_rating : '') }}"
                           class="form-control @error('profile_admin_rating') is-invalid @enderror"
                           placeholder="{{ trans('admin/main.profile_manual_rating_placeholder') }}"/>
                    <div class="text-muted text-small mt-1">{{ trans('admin/main.profile_manual_rating_hint') }}</div>
                    @error('profile_admin_rating')
                    <div class="invalid-feedback">{{ $message }}</div>
                    @enderror
                </div>

                <div class="form-group">
                    <button type="submit" class="btn btn-primary">{{ trans('admin/main.submit') }}</button>
                </div>
            </form>
        </div>
    </div>
</div>
