<commit_before><#import "template.ftl" as layout>
<@layout.registrationLayout; section>
    <#if section = "title">
        ${msg("registerWithTitle",(realm.displayName!''))}
    <#elseif section = "header">
        <h1 class="mdc-typography login-header">${msg("registerWithTitleHtml",(realm.displayNameHtml!''))}</h1>
    <#elseif section = "form">
    <div id="customer-info" class="mdc-layout-grid__cell--span-12 align-center">
      <form id="kc-register-form" class="" action="${url.registrationAction}" method="post">
          <input type="text" readonly value="this is not a login form" style="display: none;">
          <input type="password" readonly value="this is not a login form" style="display: none;">

          <#if !realm.registrationEmailAsUsername>
          <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="username" class="mdc-textfield__input ignore" name="username" value="${(register.formData.username!'')}" required autofocus />
                    <label for="username" class="mdc-textfield__label">${msg("username")}</label>
            </div>
           </div>
          </#if>
          <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="firstName" class="mdc-textfield__input ignore" name="firstName" value="${(register.formData.firstName!'')}" required />
                    <label for="firstName" class="mdc-textfield__label">${msg("firstName")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="lastName" class="mdc-textfield__input ignore" name="lastName" value="${(register.formData.lastName!'')}" required />
                    <label for="lastName" class="mdc-textfield__label">${msg("lastName")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="user.attributes.organization" class="mdc-textfield__input ignore" name="user.attributes.organization" value="${(register.formData.organization!'')}" required />
                    <label for="user.attributes.organization" class="mdc-textfield__label">${msg("organization")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="email" class="mdc-textfield__input ignore" name="email" value="${(register.formData.email!'')}" required />
                    <label for="email" class="mdc-textfield__label">${msg("email")}</label>
            </div>
           </div>
            <#if passwordRequired>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="password" id="password" class="mdc-textfield__input ignore" name="password" required />
                    <label for="password" class="mdc-textfield__label">${msg("password")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="password" id="password-confirm" class="mdc-textfield__input ignore" name="password-confirm" required />
                    <label for="password-confirm" class="mdc-textfield__label">${msg("passwordConfirm")}</label>
            </div>
           </div>
            </#if>
            <div class="form-group">
                <div id="checkout-info" class="row">
                </div>
            </div>

            <#if recaptchaRequired??>
            <div class="form-group">
                <div class="${properties.kcInputWrapperClass!}">
                    <div class="g-recaptcha" data-size="compact" data-sitekey="${recaptchaSiteKey}"></div>
                </div>
            </div>
            </#if>

            <div class="${properties.kcFormGroupClass!}">
                <div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}">
                    <input class="mdc-button mdc-button--primary mdc-button--raised btn-primary" type="button" value="${msg("doRegister")}"/>
                </div>
                <div id="kc-form-options" class="${properties.kcFormOptionsClass!}">
                    <div class="${properties.kcFormOptionsWrapperClass!}">
                        <span><a href="${url.loginUrl}">${msg("backToLogin")}</a></span>
                    </div>
                </div>
            </div>
            <p class="text-danger" style="display:none;">There were errors while submitting</p>

            </div>
        </form>
    </div>
    </#if>
</@layout.registrationLayout><commit_msg>Fix registration button.<commit_after><#import "template.ftl" as layout>
<@layout.registrationLayout; section>
    <#if section = "title">
        ${msg("registerWithTitle",(realm.displayName!''))}
    <#elseif section = "header">
        <h1 class="mdc-typography login-header">${msg("registerWithTitleHtml",(realm.displayNameHtml!''))}</h1>
    <#elseif section = "form">
    <div id="customer-info" class="mdc-layout-grid__cell--span-12 align-center">
      <form id="kc-register-form" class="" action="${url.registrationAction}" method="post">
          <input type="text" readonly value="this is not a login form" style="display: none;">
          <input type="password" readonly value="this is not a login form" style="display: none;">

          <#if !realm.registrationEmailAsUsername>
          <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="username" class="mdc-textfield__input ignore" name="username" value="${(register.formData.username!'')}" required autofocus />
                    <label for="username" class="mdc-textfield__label">${msg("username")}</label>
            </div>
           </div>
          </#if>
          <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="firstName" class="mdc-textfield__input ignore" name="firstName" value="${(register.formData.firstName!'')}" required />
                    <label for="firstName" class="mdc-textfield__label">${msg("firstName")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="lastName" class="mdc-textfield__input ignore" name="lastName" value="${(register.formData.lastName!'')}" required />
                    <label for="lastName" class="mdc-textfield__label">${msg("lastName")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="user.attributes.organization" class="mdc-textfield__input ignore" name="user.attributes.organization" value="${(register.formData.organization!'')}" required />
                    <label for="user.attributes.organization" class="mdc-textfield__label">${msg("organization")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="text" id="email" class="mdc-textfield__input ignore" name="email" value="${(register.formData.email!'')}" required />
                    <label for="email" class="mdc-textfield__label">${msg("email")}</label>
            </div>
           </div>
            <#if passwordRequired>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="password" id="password" class="mdc-textfield__input ignore" name="password" required />
                    <label for="password" class="mdc-textfield__label">${msg("password")}</label>
            </div>
           </div>
           <div>
            <div class="mdc-textfield" data-mdc-auto-init="MDCTextfield">
                    <input type="password" id="password-confirm" class="mdc-textfield__input ignore" name="password-confirm" required />
                    <label for="password-confirm" class="mdc-textfield__label">${msg("passwordConfirm")}</label>
            </div>
           </div>
            </#if>
            <div class="form-group">
                <div id="checkout-info" class="row">
                </div>
            </div>

            <#if recaptchaRequired??>
            <div class="form-group">
                <div class="${properties.kcInputWrapperClass!}">
                    <div class="g-recaptcha" data-size="compact" data-sitekey="${recaptchaSiteKey}"></div>
                </div>
            </div>
            </#if>

            <div class="${properties.kcFormGroupClass!}">
                <div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}">
                    <input class="mdc-button mdc-button--primary mdc-button--raised btn-primary" type="submit" value="${msg("doRegister")}"/>
                </div>
                <div id="kc-form-options" class="${properties.kcFormOptionsClass!}">
                    <div class="${properties.kcFormOptionsWrapperClass!}">
                        <span><a href="${url.loginUrl}">${msg("backToLogin")}</a></span>
                    </div>
                </div>
            </div>
            <p class="text-danger" style="display:none;">There were errors while submitting</p>

            </div>
        </form>
    </div>
    </#if>
</@layout.registrationLayout>
{'fraction_non_alphanumeric': 0.17044396150263894, 'fraction_numerical': 0.0008279002380213184, 'mean_word_length': 2.2915531335149866, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, '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': '3819172', 'n_tokens_mistral': 2796, 'n_tokens_neox': 2703, 'n_words': 459}