<commit_before><?php
defined('C5_EXECUTE') or die("Access Denied.");
/** @var $control Concrete\Core\Page\Type\Composer\FormLayoutSetControl */

$der = Concrete\Core\Page\Type\Composer\Control\Type\Type::getByID($control->getPageTypeComposerControlTypeID());
$pto = $control->getPageTypeComposerControlObject();
$name = '';
if (strlen($control->getPageTypeComposerFormLayoutSetControlCustomLabel())) {
	$name = $pto->getPageTypeComposerControlName() . ' ';
}

?>
<tr class="ccm-page-type-composer-form-layout-control-set-control" data-page-type-composer-form-layout-control-set-control-id="<?=$control->getPageTypeComposerFormLayoutSetControlID()?>">
	<td style="white-space: nowrap;">
		<?= $control->getPageTypeComposerControlDisplayLabel(); ?>
	</td>

	<td style="width: 100%;">
		<span class="text-muted"><?= $name ?> (<?= $der->getPageTypeComposerControlTypeDisplayName() ?>)</span><commit_msg>Rearranged name and type.<commit_after><?php
defined('C5_EXECUTE') or die("Access Denied.");
/** @var $control Concrete\Core\Page\Type\Composer\FormLayoutSetControl */

$der = Concrete\Core\Page\Type\Composer\Control\Type\Type::getByID($control->getPageTypeComposerControlTypeID());
$pto = $control->getPageTypeComposerControlObject();
$name = '';
if (strlen($control->getPageTypeComposerFormLayoutSetControlCustomLabel())) {
	$name = $pto->getPageTypeComposerControlName() . ' ';
}

?>
<tr class="ccm-page-type-composer-form-layout-control-set-control" data-page-type-composer-form-layout-control-set-control-id="<?=$control->getPageTypeComposerFormLayoutSetControlID()?>">
	<td style="white-space: nowrap;">
		<?= $control->getPageTypeComposerControlDisplayLabel(); ?>
	</td>

	<td style="width: 100%;">
		<span class="text-muted"><?= $der->getPageTypeComposerControlTypeDisplayName() ?></span>
		<? if ($name): ?>
			<span class="text-muted">(<?= trim($name) ?>)</span>
		<? endif ?>
{'fraction_non_alphanumeric': 0.1984084880636605, 'fraction_numerical': 0.004244031830238726, 'mean_word_length': 7.2, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 43, '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': '6817397', 'n_tokens_mistral': 641, 'n_tokens_neox': 629, 'n_words': 74}