<commit_before>@extends('template')

@section('title', $post->title)

@section('content')
    @include('partials.post', compact('post'))
    <h2>Comments</h2>
    <div class="row">
        <div class="col-lg-6">
            <form method="post" action="{{ route('subs.posts.comments.store', [$post->sub->name, $post->slug]) }}">
                {!! csrf_field() !!}
                <div class="form-group">
                    <label for="content">New comment</label>
                    <textarea rows="10" class="form-control" name="content" id="content">{{ old('content') }}</textarea>
                </div>
                <button type="submit" class="btn btn-primary">Submit</button>
            </form>
        </div>
    </div>
    @include('partials.comments', ['comments' => $post->comments])
@endsection<commit_msg>Separated comments from new comment interface<commit_after>@extends('template')

@section('title', $post->title)

@section('content')
    @include('partials.post', compact('post'))
    <h2>Comments</h2>
    <div class="row">
        <div class="col-lg-6">
            <form method="post" action="{{ route('subs.posts.comments.store', [$post->sub->name, $post->slug]) }}">
                {!! csrf_field() !!}
                <div class="form-group">
                    <label for="content">New comment</label>
                    <textarea rows="10" class="form-control" name="content" id="content">{{ old('content') }}</textarea>
                </div>
                <button type="submit" class="btn btn-primary">Submit</button>
            </form>
        </div>
    </div>
    <hr>
    @include('partials.comments', ['comments' => $post->comments])
@endsection
{'fraction_non_alphanumeric': 0.20224719101123595, 'fraction_numerical': 0.0059136605558840925, 'mean_word_length': 2.5323590814196244, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 48, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7237172', 'n_tokens_mistral': 513, 'n_tokens_neox': 495, 'n_words': 89}