<commit_before>{{--
    Copyright (c) ppy Pty Ltd <<EMAIL>>.

    This file is part of osu!web. osu!web is distributed with the hope of
    attracting more community contributions to the core ecosystem of osu!.

    osu!web is free software: you can redistribute it and/or modify
    it under the terms of the Affero GNU General Public License version 3
    as published by the Free Software Foundation.

    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    See the GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
--}}
{!! Form::open([
    'route' => 'account.update',
    'method' => 'PUT',
    'data-remote' => true,
    'class' => 'account-edit js-account-edit'
]) !!}
    <div class="account-edit__section">
        <h2 class="account-edit__section-title">
            {{ trans('accounts.edit.signature.title') }}
        </h2>
    </div>

    <div class="account-edit__input-groups">
        <div class="account-edit__input-group">

            <div class="account-edit-entry account-edit-entry--wide account-edit-entry--no-label">
                <div class="account-edit-entry__misc-info js-post-preview--body">
                    {!! bbcode(Auth::user()->user_sig, Auth::user()->user_sig_bbcode_uid) !!}
                </div>
            </div>

            <div class="account-edit-entry account-edit-entry--wide account-edit-entry--no-label">
                <textarea
                    class="account-edit-entry__input js-post-preview--auto js-bbcode-body"
                    name="user[user_sig]"
                    rows=6
                >{{ bbcode_for_editor(Auth::user()->user_sig, Auth::user()->user_sig_bbcode_uid) }}</textarea>

            </div>

            <div class="account-edit-entry account-edit-entry--wide account-edit-entry--no-label">
                <div class="account-edit-entry__misc-info">
                    @include('forum._post_toolbar')
                </div>
            </div>
        </div>

        <div class="account-edit__input-group">
            <div class="account-edit-entry account-edit-entry--no-label">
                <button class="btn-osu-big btn-osu-big--account-edit" type="submit" data-disable-with="{{ trans('common.buttons.saving') }}">
                    <div class="btn-osu-big__content">
                        <div class="btn-osu-big__left">
                            {{ trans('accounts.edit.signature.update') }}
                        </div>

                        <div class="btn-osu-big__icon">
                            <i class="fas fa-check"></i>
                        </div>
                    </div>
                </button>

                @include('accounts._edit_entry_status')
            </div>
        </div>
    </div>
{!! Form::close() !!}
<commit_msg>Update post preview class name<commit_after>{{--
    Copyright (c) ppy Pty Ltd <<EMAIL>>.

    This file is part of osu!web. osu!web is distributed with the hope of
    attracting more community contributions to the core ecosystem of osu!.

    osu!web is free software: you can redistribute it and/or modify
    it under the terms of the Affero GNU General Public License version 3
    as published by the Free Software Foundation.

    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    See the GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
--}}
{!! Form::open([
    'route' => 'account.update',
    'method' => 'PUT',
    'data-remote' => true,
    'class' => 'account-edit js-account-edit'
]) !!}
    <div class="account-edit__section">
        <h2 class="account-edit__section-title">
            {{ trans('accounts.edit.signature.title') }}
        </h2>
    </div>

    <div class="account-edit__input-groups">
        <div class="account-edit__input-group">

            <div class="account-edit-entry account-edit-entry--wide account-edit-entry--no-label">
                <div class="account-edit-entry__misc-info js-post-preview--preview">
                    {!! bbcode(Auth::user()->user_sig, Auth::user()->user_sig_bbcode_uid) !!}
                </div>
            </div>

            <div class="account-edit-entry account-edit-entry--wide account-edit-entry--no-label">
                <textarea
                    class="account-edit-entry__input js-post-preview--auto js-bbcode-body"
                    name="user[user_sig]"
                    rows=6
                >{{ bbcode_for_editor(Auth::user()->user_sig, Auth::user()->user_sig_bbcode_uid) }}</textarea>

            </div>

            <div class="account-edit-entry account-edit-entry--wide account-edit-entry--no-label">
                <div class="account-edit-entry__misc-info">
                    @include('forum._post_toolbar')
                </div>
            </div>
        </div>

        <div class="account-edit__input-group">
            <div class="account-edit-entry account-edit-entry--no-label">
                <button class="btn-osu-big btn-osu-big--account-edit" type="submit" data-disable-with="{{ trans('common.buttons.saving') }}">
                    <div class="btn-osu-big__content">
                        <div class="btn-osu-big__left">
                            {{ trans('accounts.edit.signature.update') }}
                        </div>

                        <div class="btn-osu-big__icon">
                            <i class="fas fa-check"></i>
                        </div>
                    </div>
                </button>

                @include('accounts._edit_entry_status')
            </div>
        </div>
    </div>
{!! Form::close() !!}

{'fraction_non_alphanumeric': 0.13649950182663567, 'fraction_numerical': 0.001328462304882099, 'mean_word_length': 1.9110681488641856, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3132681', 'n_tokens_mistral': 1727, 'n_tokens_neox': 1640, 'n_words': 394}