<commit_before>@extends('app')

@section('content')
<div class="container">

        <div class="col-md-10 col-md-offset-1">

            <div class="panel panel-default">

                <div class="panel-heading">{{ trans('manager.businesses.index.title') }}</div>

                <div class="panel-body">
                    @if(auth()->user()->hasBusiness())
                        {!! Alert::info(trans('manager.businesses.index.help')) !!}
                            
                        @foreach ($businesses as $business)
                            <div class="row">
                            <div class="col-md-12">
                                <div class="media">
                                  <div class="media-left media-top hidden-xs hidden-sm">
                                    <a href="{{route('manager.business.show', ['business' => $business])}}">{!! $business->getPresenter()->getFacebookImg('normal') !!}</a>
                                  </div>
                                  <div class="media-body">
                                    <blockquote>{!! Button::normal($business->name)->asLinkTo( route('manager.business.show', ['business' => $business]) ) !!} {{ str_limit($business->description, 50) }}</blockquote>
                                  </div>
                                </div>
                            </div>
                            </div>
                        @endforeach

                    @else<commit_msg>Update attribute access<commit_after>@extends('app')

@section('content')
<div class="container">

        <div class="col-md-10 col-md-offset-1">

            <div class="panel panel-default">

                <div class="panel-heading">{{ trans('manager.businesses.index.title') }}</div>

                <div class="panel-body">
                    @if(auth()->user()->hasBusiness())
                        {!! Alert::info(trans('manager.businesses.index.help')) !!}
                            
                        @foreach ($businesses as $business)
                            <div class="row">
                            <div class="col-md-12">
                                <div class="media">
                                  <div class="media-left media-top hidden-xs hidden-sm">
                                    <a href="{{route('manager.business.show', ['business' => $business])}}">{!! $business->facebookImg('normal') !!}</a>
                                  </div>
                                  <div class="media-body">
                                    <blockquote>{!! Button::normal($business->name)->asLinkTo( route('manager.business.show', ['business' => $business]) ) !!} {{ str_limit($business->description, 50) }}</blockquote>
                                  </div>
                                </div>
                            </div>
                            </div>
                        @endforeach

                    @else
{'fraction_non_alphanumeric': 0.15560794880431122, 'fraction_numerical': 0.004715392388009431, 'mean_word_length': 1.1647230320699709, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 60, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7385525', 'n_tokens_mistral': 727, 'n_tokens_neox': 675, 'n_words': 113}