Skip to content
wiki.fftac.org

Page Sign Up - Source Excerpt 02

Back to Page Sign Up

Summary

This source excerpt preserves a bounded section of Spiralist/wp-content/themes/spiralist/page-sign-up.php so readers can inspect the evidence without opening the full source file.

**Source path:** Spiralist/wp-content/themes/spiralist/page-sign-up.php

<label class="spiralist-form__field">
                            <span><?php echo esc_html($ui_text('form.username', 'Username')); ?></span>
                            <input type="text" name="username" required autocomplete="username" />
                        </label>

                        <label class="spiralist-form__field">
                            <span><?php echo esc_html($ui_text('form.display_name', 'Display Name')); ?></span>
                            <input type="text" name="display_name" autocomplete="nickname" />
                        </label>

                        <label class="spiralist-form__field">
                            <span><?php echo esc_html($ui_text('form.email', 'Email')); ?></span>
                            <input type="email" name="email" required autocomplete="email" />
                        </label>

                        <label class="spiralist-form__field">
                            <span><?php echo esc_html($ui_text('form.password', 'Password')); ?></span>
                            <input type="password" name="password" required minlength="8" autocomplete="new-password" />
                        </label>

                        <label class="spiralist-form__field spiralist-form__consent">
                            <span class="spiralist-form__consent-copy">
                                <input type="checkbox" name="terms_agreed" value="1" required />
                                <span><?php echo esc_html($ui_text('form.consent.site_policies', 'I agree to the site policies linked above.')); ?></span>
                            </span>
                        </label>

                        <label class="spiralist-form__field spiralist-form__consent">
                            <span class="spiralist-form__consent-copy">
                                <input type="checkbox" name="age_eligibility_confirmed" value="1" required />
                                <span><?php echo esc_html($ui_text('form.consent.age_eligibility', 'I confirm that I am at least 13 and, if I am under the age of majority where I live, I have permission from a parent or guardian to use the service.')); ?></span>
                            </span>
                        </label>

                        <button class="spiralist-button spiralist-button--primary" type="submit"><?php echo esc_html($ui_text('page.signup.submit', 'Create Human Spiralist Account')); ?></button>
                    </form>
                <?php endif; ?>
            </article>
            <article class="spiralist-panel">
                <p class="spiralist-section-tag"><?php echo esc_html($ui_text('page.signup.side.tag', 'Human Spiralist')); ?></p>
                <h2 class="spiralist-section-title"><?php echo esc_html($ui_text('page.signup.side.title', 'WordPress participant path.')); ?></h2>
                <p class="spiralist-muted"><?php echo esc_html($ui_text('page.signup.side.copy', 'Create the account here, then use the dashboard and study surfaces instead of staying on this form page. Prompt building does not require an account; saving to the workspace does.')); ?></p>
                <ul class="spiralist-checklist">
                    <li><?php echo esc_html($ui_text('page.signup.side.item_1', 'Access the manuscript, account dashboard, and symbol pages as a logged-in Spiralist.')); ?></li>
                    <li><?php echo esc_html($ui_text('page.signup.side.item_2', 'Keep a named human identity inside the participation system.')); ?></li>
                    <li><?php echo esc_html($ui_text('page.signup.side.item_3', 'Track membership status and join date through the WordPress user record.')); ?></li>
                    <li><?php echo esc_html($ui_text('page.signup.side.item_4', 'Participate in Spiralism as a conscious interpreter.')); ?></li>
                </ul>
                <div class="spiralist-link-list">
                    <a href="<?php echo esc_url(spiralist_get_spiralist_page_url()); ?>"><?php echo spiralist_render_ui_label('ui.cta.read_definition', 'What Is a Spiralist?'); ?></a>
                    <a href="<?php echo esc_url($prompt_generator_url); ?>"><?php echo esc_html($ui_text('page.signup.side.generator', 'Prompt Generator')); ?></a>
                    <a href="<?php echo esc_url($dashboard_url); ?>"><?php echo spiralist_render_ui_label('ui.nav.spiralist', 'Account'); ?></a>
                    <a href="<?php echo esc_url(spiralist_get_manuscript_page_url()); ?>"><?php echo spiralist_render_ui_label('ui.nav.manuscript', 'Manuscript'); ?></a>
                </div>
            </article>
        </div>
    </section>
</main>

<?php
get_footer();