<commit_before><select class="all-pending-event-tools">
    <option value="">Bulk Action</option>
    <option value="move-to-upcoming">Move to Upcoming</option>
    <option value="recommend">Recommend</option>
    <option value="delete">Delete</option>
</select>
<div class="wdn-grid-set">
    <div class="wdn-col-one-sixth">
        <input type="checkbox" id="select-all">
    </div>
    <div class="wdn-col-one-sixth">
        <h6>Title</h6>
    </div>
    <div class="wdn-col-one-sixth">
        <h6>Dates</h6>
    </div>
    <div class="wdn-col-one-sixth">
        <h6>Location</h6>
    </div>
</div>
<?php foreach($context as $event): ?>
    
<div class="wdn-grid-set">
    <div class="wdn-col-one-sixth">
        <input type="checkbox" class="select-event" data-id="<?php echo $event->id; ?>">
    </div>
    <div class="wdn-col-one-sixth">
        <a href="<?php echo $event->getEditURL($controller->getCalendar()) ?>"><?php echo $event->title; ?></a>
    </div>
    <div class="wdn-col-one-third">
        <?php foreach($event->getDateTimes() as $datetime) { ?>
            <?php echo date('n/j/y @ h:ia', strtotime($datetime->starttime)); ?>
            <?php if (!empty($location = $datetime->getLocation())) echo $location->name; ?>
        <?php } ?>
    </div>
    <div class="wdn-col-one-third">
        <select class="pending-event-tools" data-id="<?php echo $event->id; ?>" data-recommend-url="<?php echo $event->getRecommendURL($controller->getCalendar()) ?>">
            <option value="">Select an Action</option>
            <option value="move-to-upcoming">Move to Upcoming</option>
            <option value="recommend">Recommend</option>
            <option value="delete">Delete</option>
        </select>
    </div>
</div>
<?php endforeach; ?><commit_msg>Improve html structure and accessibility<commit_after><label for="bulk_action">Bulk Actions</label>
<select id="bulk_action" class="all-pending-event-tools">
    <option value=""></option>
    <option value="move-to-upcoming">Move to Upcoming</option>
    <option value="recommend">Recommend</option>
    <option value="delete">Delete</option>
</select>

<table>
    <thead>
        <tr>
            <th>Select</th>
            <th>Title</th>
            <th>Date/Location</th>
            <th>Options</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach($context as $event): ?>
            <tr>
                <td>
                    <input type="checkbox" id="event_select_<?php echo $event->id ?>" class="select-event" data-id="<?php echo $event->id; ?>">
                    <label for="event_select_<?php echo $event->id ?>">
                        Select this event
                    </label>
                </td>
                <td>
                    <a href="<?php echo $event->getEditURL($controller->getCalendar()) ?>"><?php echo $event->title; ?></a>
                </td>
                <td>
                    <ul>
                    <?php foreach($event->getDateTimes() as $datetime): ?>
                        <li>
                            <?php echo date('n/j/y @ h:ia', strtotime($datetime->starttime)); ?>
                            at <?php if (!empty($location = $datetime->getLocation())) echo $location->name; ?>
                         </li>
                    <?php endforeach; ?>
                    </ul>
                </td>
                <td>
                    <label for="event_action_<?php echo $event->id ?>"></label>
                    <select 
                        id="event_action_<?php echo $event->id ?>"
                        class="pending-event-tools" 
                        data-id="<?php echo $event->id; ?>"
                        data-recommend-url="<?php echo $event->getRecommendURL($controller->getCalendar()) ?>"
                        >
                        <option value="">Select an Action</option>
                        <option value="move-to-upcoming">Move to Upcoming</option>
                        <option value="recommend">Recommend</option>
                        <option value="delete">Delete</option>
                    </select>
                </td>
        </tr>
        <?php endforeach; ?>
    </tbody>
</table>
{'fraction_non_alphanumeric': 0.1802850356294537, 'fraction_numerical': 0.0014251781472684087, 'mean_word_length': 1.8744027303754267, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 0, '>': 164, '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': '4498040', 'n_tokens_mistral': 1259, 'n_tokens_neox': 1217, 'n_words': 232}