<commit_before>@extends('layouts.default')

@section('title', lang('title.edit-profile'))

@section('content')
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading"><h1>@lang('title.edit-profile')</h1></div>

                <div class="panel-body">
                    @include('components.alerts')
                    @if ($errors->any())
                        <div class="alert alert-danger">
                            <ul>
                                @foreach ($errors->all() as $error)
                                    <li>{{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
                    <form class="form-horizontal" action="{{ route('user.update', $user->id) }}" method="POST">
                        {{ csrf_field() }}
                        {{ method_field('PATCH') }}
                        <div class="form-group">
                            <label class="col-sm-4 control-label">@lang('title.username')</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{ $user->username }}</p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="full_name" class="col-sm-4 control-label">@lang('title.full-name')</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" id="full_name" name="full_name" placeholder="@lang('title.full-name')" value="{{ old('full_name', $user->full_name) }}">
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="email" class="col-sm-4 control-label">@lang('title.email')</label>
                            <div class="col-sm-8">
                                <input type="email" class="form-control" id="email" name="email" placeholder="@lang('title.email')" value="{{ old('email', $user->email) }}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="email" class="col-sm-4 control-label">@lang('title.email-confirmation')</label>
                            <div class="col-sm-8">
                                <input type="email" class="form-control" id="email_confirmation" name="email_confirmation" placeholder="@lang('title.email-confirmation')" value="{{ old('email_confirmation', $user->email) }}">
                            </div>
                        </div>
                        <button type="submit" class="btn btn-primary center-block">@lang('title.update-profile')</button>
                    </form>
                </div>
            </div><commit_msg>Fixing incorrectly referenced language string<commit_after>@extends('layouts.default')

@section('title', lang('title.edit-profile'))

@section('content')
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading"><h1>@lang('title.edit-profile')</h1></div>

                <div class="panel-body">
                    @include('components.alerts')
                    @if ($errors->any())
                        <div class="alert alert-danger">
                            <ul>
                                @foreach ($errors->all() as $error)
                                    <li>{{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
                    <form class="form-horizontal" action="{{ route('user.update', $user->id) }}" method="POST">
                        {{ csrf_field() }}
                        {{ method_field('PATCH') }}
                        <div class="form-group">
                            <label class="col-sm-4 control-label">@lang('title.username')</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{ $user->username }}</p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="full_name" class="col-sm-4 control-label">@lang('title.full-name')</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" id="full_name" name="full_name" placeholder="@lang('title.full-name')" value="{{ old('full_name', $user->full_name) }}">
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="email" class="col-sm-4 control-label">@lang('title.email')</label>
                            <div class="col-sm-8">
                                <input type="email" class="form-control" id="email" name="email" placeholder="@lang('title.email')" value="{{ old('email', $user->email) }}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="email" class="col-sm-4 control-label">@lang('title.confirm-email')</label>
                            <div class="col-sm-8">
                                <input type="email" class="form-control" id="email_confirmation" name="email_confirmation" placeholder="@lang('title.confirm-email')" value="{{ old('email_confirmation', $user->email) }}">
                            </div>
                        </div>
                        <button type="submit" class="btn btn-primary center-block">@lang('title.update-profile')</button>
                    </form>
                </div>
            </div>
{'fraction_non_alphanumeric': 0.1603459747172322, 'fraction_numerical': 0.003992015968063872, 'mean_word_length': 1.2428198433420365, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 115, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7647504', 'n_tokens_mistral': 1533, 'n_tokens_neox': 1464, 'n_words': 243}