<commit_before>@extends('layout.dashboard')

@section('content')
    <div class="header">
        <div class="sidebar-toggler visible-xs">
            <i class="icon ion-navicon"></i>
        </div>
        <span class="uppercase">
            <i class="icon ion-speedometer"></i> {{ trans('dashboard.dashboard') }}
        </span>
    </div>
    <div class="content-wrapper">
        <div class="row">
            <div class="col-md-12">
                <h4 class="sub-header">{{ trans('dashboard.components.component_statuses') }}</h4>
                <div class="panel panel-default">
                    <div class="list-group">
                        @forelse($components as $component)
                        <div class="list-group-item">
                            <form class='component-inline form-vertical' data-messenger={{trans('dashboard.components.edit.success')}}>
                                <div class="row striped-list-item">
                                    <div class="col-lg-4 col-sm-12">
                                        <h4>{{ $component->name }}</h4>
                                    </div>
                                    <div class="col-lg-8 col-sm-12 radio-items">
                                        @foreach(trans('cachet.components.status') as $statusID => $status)
                                        <div class="radio-inline">
                                            <label>
                                                <input type="radio" name="status" value="{{ $statusID }}" {{ (int) $component->status === $statusID ? 'checked' : null }}>
                                                {{ $status }}
                                            </label>
                                        </div>
                                        @endforeach
                                    </div>
                                </div>
                                <input type="hidden" name="component_id" value="{{ $component->id }}">
                            </form><commit_msg>Fix data-messenger attribute<commit_after>@extends('layout.dashboard')

@section('content')
    <div class="header">
        <div class="sidebar-toggler visible-xs">
            <i class="icon ion-navicon"></i>
        </div>
        <span class="uppercase">
            <i class="icon ion-speedometer"></i> {{ trans('dashboard.dashboard') }}
        </span>
    </div>
    <div class="content-wrapper">
        <div class="row">
            <div class="col-md-12">
                <h4 class="sub-header">{{ trans('dashboard.components.component_statuses') }}</h4>
                <div class="panel panel-default">
                    <div class="list-group">
                        @forelse($components as $component)
                        <div class="list-group-item">
                            <form class='component-inline form-vertical' data-messenger="{{trans('dashboard.components.edit.success')}}">
                                <div class="row striped-list-item">
                                    <div class="col-lg-4 col-sm-12">
                                        <h4>{{ $component->name }}</h4>
                                    </div>
                                    <div class="col-lg-8 col-sm-12 radio-items">
                                        @foreach(trans('cachet.components.status') as $statusID => $status)
                                        <div class="radio-inline">
                                            <label>
                                                <input type="radio" name="status" value="{{ $statusID }}" {{ (int) $component->status === $statusID ? 'checked' : null }}>
                                                {{ $status }}
                                            </label>
                                        </div>
                                        @endforeach
                                    </div>
                                </div>
                                <input type="hidden" name="component_id" value="{{ $component->id }}">
                            </form>
{'fraction_non_alphanumeric': 0.13705583756345177, 'fraction_numerical': 0.005801305293691081, 'mean_word_length': 1.0284313725490195, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1193563', 'n_tokens_mistral': 926, 'n_tokens_neox': 905, 'n_words': 173}