<commit_before><div class="attributes form">
<?php
    echo $this->Form->create('Server', array('id', 'url' => '/communities/requestAccess/' . $community['community_uuid']));
    echo sprintf(
        '<fieldset><legend>%s</legend>%s</fieldset>%s',
        'Request access to ' . h($community['community_name']),
        (
            $this->Form->input('email', array(
                'label' => __('Requestor E-mail address'),
                'div' => 'input clear',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('org_name', array(
                'label' => __('Organisation name'),
                'div' => 'input clear',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('org_uuid', array(
                'label' => __('Organisation uuid'),
                'div' => 'input clear',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('org_description', array(
                'label' => __('Description of the requestor organisation'),
                'div' => 'input clear',
                'type' => 'textarea',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('message', array(
                'label' => __('Message to the community host organisation'),
                'div' => 'input clear',
                'type' => 'textarea',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('gpgkey', array(
                'label' => __('PGP public key'),
                'div' => 'input clear',
                'type' => 'textarea',
                'class' => 'input-xxlarge'
            )) .
            $this->element('/genericElements/Forms/clear') .
            $this->Form->input('sync', array(
                'label' => __('Request sync access'),
                'type' => 'checkbox'
            ))
        ),
        $this->Form->button('Submit', array(
            'class' => 'btn btn-primary',
            'div' => 'input clear',
        )) .
        $this->Form->end()
    );
?>
</div>
<?php
    echo $this->element('/genericElements/SideMenu/side_menu', array('menuList' => 'sync', 'menuItem' => 'request_community_access'));
?>
<script type="text/javascript">
$(document).ready(function() {
});
</script>
<?php echo $this->Js->writeBuffer();
<commit_msg>new: [communities] Descriptions added to the request form along with the anonymise checkbox<commit_after><div class="attributes form">
<?php
    echo $this->Form->create('Server', array('id', 'url' => '/communities/requestAccess/' . $community['community_uuid']));
    echo sprintf(
        '<fieldset><legend>%s</legend><p style="width:550px;">%s</p>%s</fieldset>%s',
        'Request access to ' . h($community['community_name']),
        __('Describe both yourself and your organisation as best as you can - keep in mind this information is to be used by the hosts of the community you are requesting access to in order to determine whether you\'re a good fit for their community. The sending server\'s basic metadata is included by default, you can opt out using the "anonymise" checkbox (server url, uuid, version are shared otherwise - though this can be a useful step in establishing trust.).'),
        (
            $this->Form->input('email', array(
                'label' => __('Requestor E-mail address'),
                'div' => 'input clear',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('org_name', array(
                'label' => __('Organisation name'),
                'div' => 'input clear',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('org_uuid', array(
                'label' => __('Organisation uuid'),
                'div' => 'input clear',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('org_description', array(
                'label' => __('Description of the requestor organisation'),
                'div' => 'input clear',
                'type' => 'textarea',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('message', array(
                'label' => __('Message to the community host organisation'),
                'div' => 'input clear',
                'type' => 'textarea',
                'class' => 'input-xxlarge'
            )) .
            $this->Form->input('gpgkey', array(
                'label' => __('PGP public key'),
                'div' => 'input clear',
                'type' => 'textarea',
                'class' => 'input-xxlarge'
            )) .
            $this->element('/genericElements/Forms/clear') .
            $this->Form->input('sync', array(
                'label' => __('Request sync access'),
                'type' => 'checkbox'
            )) .
            $this->element('/genericElements/Forms/clear') .
            $this->Form->input('anonymise', array(
                'label' => __('Anonymise information on the server used to issue the request'),
                'type' => 'checkbox'
            ))
        ),
        $this->Form->button('Submit', array(
            'class' => 'btn btn-primary',
            'div' => 'input clear',
        )) .
        $this->Form->end()
    );
?>
</div>
<?php
    echo $this->element('/genericElements/SideMenu/side_menu', array('menuList' => 'sync', 'menuItem' => 'request_community_access'));
?>
<script type="text/javascript">
$(document).ready(function() {
});
</script>
<?php echo $this->Js->writeBuffer();

{'fraction_non_alphanumeric': 0.17447264926707187, 'fraction_numerical': 0.0005362888809438684, 'mean_word_length': 1.84587995930824, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 134, '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': '3210199', 'n_tokens_mistral': 1551, 'n_tokens_neox': 1489, 'n_words': 356}