<commit_before>
<div id="page-container" class="row-fluid">

    <div id="page-content" class="span6 offset3">
        <div class="well">

            <div class="attendeeStatusLogs form">

                <?php echo $this->Form->create('AttendeeStatusLog', array('inputDefaults' => array('label' => false), 'class' => 'form form-horizontal')); ?>
                
                <fieldset>
                    <h2><?php echo __('Record Attendee Status'); ?></h2>
                    
                    <hr />
                    
                    <div class="control-group">
                        <?php echo $this->Form->label('attendee_id', 'Attendee', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('attendee_id', array('class' => 'span12')); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                    <div class="control-group">
                        <?php echo $this->Form->label('attendance_status_state_id', 'Status State', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('attendance_status_state_id', array('class' => 'span12')); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                    <div class="control-group">
                        <?php echo $this->Form->label('event_id', 'Event', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('event_id', array('class' => 'span12')); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                    <div class="control-group">
                        <?php echo $this->Form->label('user_id', 'Logged by', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('user_id', array('class' => 'span12', 'disabled' => $loggedByState)); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                </fieldset>
                
                <hr />
                
                <div class="text-right">
                   <?php echo $this->Form->submit('Submit', array('class' => 'btn btn-large btn-success')); ?>
                </div><!-- /.text-right -->
                <?php echo $this->Form->end(); ?>

            </div><!-- /.attendeeStatusLogs.form -->
        </div><!-- /.well -->
    </div><!-- #page-content .span9 -->

</div><!-- #page-container .row-fluid --><commit_msg>Set the default `Logged By` user to the currently logged in user.<commit_after>
<div id="page-container" class="row-fluid">

    <div id="page-content" class="span6 offset3">
        <div class="well">

            <div class="attendeeStatusLogs form">

                <?php echo $this->Form->create('AttendeeStatusLog', array('inputDefaults' => array('label' => false), 'class' => 'form form-horizontal')); ?>
                
                <fieldset>
                    <h2><?php echo __('Record Attendee Status'); ?></h2>
                    
                    <hr />
                    
                    <div class="control-group">
                        <?php echo $this->Form->label('attendee_id', 'Attendee', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('attendee_id', array('class' => 'span12')); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                    <div class="control-group">
                        <?php echo $this->Form->label('attendance_status_state_id', 'Status State', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('attendance_status_state_id', array('class' => 'span12')); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                    <div class="control-group">
                        <?php echo $this->Form->label('event_id', 'Event', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('event_id', array('class' => 'span12')); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                    <div class="control-group">
                        <?php echo $this->Form->label('user_id', 'Logged by', array('class' => 'control-label')); ?>
                        <div class="controls">
                            <?php echo $this->Form->input('user_id', array('class' => 'span12', 'disabled' => $loggedByState, 'default' => AuthComponent::user('id'))); ?>
                        </div><!-- .controls -->
                    </div><!-- .control-group -->

                </fieldset>
                
                <hr />
                
                <div class="text-right">
                   <?php echo $this->Form->submit('Submit', array('class' => 'btn btn-large btn-success')); ?>
                </div><!-- /.text-right -->
                <?php echo $this->Form->end(); ?>

            </div><!-- /.attendeeStatusLogs.form -->
        </div><!-- /.well -->
    </div><!-- #page-content .span9 -->

</div><!-- #page-container .row-fluid -->
{'fraction_non_alphanumeric': 0.19488817891373802, 'fraction_numerical': 0.004614838480653177, 'mean_word_length': 1.359715242881072, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 188, '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': '7140128', 'n_tokens_mistral': 1491, 'n_tokens_neox': 1404, 'n_words': 285}