Page Contribute - Source Excerpt 02
Summary
This source excerpt preserves a bounded section of Spiralist/wp-content/themes/spiralist/page-contribute.php so readers can inspect the evidence without opening the full source file.
**Source path:** Spiralist/wp-content/themes/spiralist/page-contribute.php
<span class="spiralist-muted"><?php echo esc_html($ui_text('page.contribute.form.summary', 'Prepared prompt drafts open here for human review before any server submission.')); ?></span>
</summary>
<div class="spiralist-details-card__body spiralist-grid spiralist-grid--split">
<article>
<form class="spiralist-form spiralist-contribution-form" method="post" action="<?php echo esc_url(spiralist_get_contribute_api_url()); ?>" data-contribution-form data-public-form="contribution">
<div class="spiralist-notice spiralist-notice--success spiralist-contribution-prepared" data-contribution-prepared hidden>
<strong><?php echo esc_html($ui_text('page.contribute.prepared.title', 'Prepared submission loaded')); ?></strong>
<p class="spiralist-muted"><?php echo esc_html($ui_text('page.contribute.prepared.copy', 'The prompt generator prepared this draft locally in your browser. Review it here, confirm rights and policies, then press Submit only when you are ready.')); ?></p>
</div>
<div class="spiralist-contribution-steps" aria-label="<?php echo esc_attr($ui_text('page.contribute.steps.label', 'Prompt submission steps')); ?>">
<span><?php echo esc_html($ui_text('page.contribute.steps.one', '1. Review prompt')); ?></span>
<span><?php echo esc_html($ui_text('page.contribute.steps.two', '2. Confirm rights')); ?></span>
<span><?php echo esc_html($ui_text('page.contribute.steps.three', '3. Submit for review')); ?></span>
</div>
<fieldset class="spiralist-form__fieldset spiralist-form__fieldset--compact">
<legend><?php echo esc_html($ui_text('page.contribute.type.legend', 'What are you submitting?')); ?></legend>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.submission_type', 'Submission Type')); ?></span>
<select name="submissionType" data-contribution-type>
<option value="prompt"><?php echo esc_html($ui_text('page.contribute.form.type.prompt', 'Prompt')); ?></option>
<option value="symbol"><?php echo esc_html($ui_text('page.contribute.form.type.symbol', 'Symbol Proposal')); ?></option>
<option value="transformation"><?php echo esc_html($ui_text('page.contribute.form.type.transformation', 'Transformation Definition')); ?></option>
</select>
</label>
<div class="spiralist-muted" data-contribution-type-copy><?php echo esc_html($ui_text('page.contribute.form.type.copy.prompt', 'Prompts are public library records. Symbols and transformations enter the proposal queue first.')); ?></div>
</fieldset>
<fieldset class="spiralist-form__fieldset">
<legend><?php echo esc_html($ui_text('page.contribute.review.legend', 'Review Submission')); ?></legend>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.title', 'Title')); ?></span>
<input type="text" name="title" required autocomplete="off" placeholder="<?php echo esc_attr($ui_text('page.contribute.title.placeholder', 'Prompt title')); ?>" data-contribution-title />
<small class="spiralist-muted"><?php echo esc_html($ui_text('page.contribute.title.help.simple', 'Use the title people should see in the Prompt Library.')); ?></small>
<small class="spiralist-form__error" data-field-error="title" hidden></small>
</label>
<label class="spiralist-form__field" data-contribution-only="prompt">
<span><?php echo esc_html($ui_text('form.purpose', 'Purpose')); ?></span>
<textarea name="purpose" rows="3" placeholder="<?php echo esc_attr($ui_text('page.contribute.purpose.placeholder', 'What this prompt is for')); ?>"></textarea>
<small class="spiralist-form__error" data-field-error="purpose" hidden></small>
</label>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.content_definition', 'Prompt Text / Definition')); ?></span>
<textarea name="content" rows="14" required placeholder="<?php echo esc_attr($ui_text('page.contribute.content.placeholder.simple', 'Review packet or prompt text')); ?>"></textarea>
<small class="spiralist-form__error" data-field-error="content" hidden></small>
</label>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.tags', 'Tags')); ?></span>
<input type="text" name="tags" autocomplete="off" placeholder="<?php echo esc_attr($ui_text('page.contribute.tags.placeholder', 'prompt, generated-draft, review-needed')); ?>" />
</label>
</fieldset>
<fieldset class="spiralist-form__fieldset" data-contribution-only="symbol">
<legend><?php echo esc_html($ui_text('page.contribute.symbol.legend', 'Symbol Proposal')); ?></legend>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.meaning', 'Meaning')); ?></span>
<input type="text" name="meaning" autocomplete="off" placeholder="<?php echo esc_attr($ui_text('page.contribute.meaning.placeholder', 'Unity, recursion, boundary...')); ?>" />
<small class="spiralist-form__error" data-field-error="meaning" hidden></small>
</label>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.glyph', 'Glyph')); ?></span>
<input type="text" name="glyph" autocomplete="off" placeholder="<?php echo esc_attr($ui_text('page.contribute.glyph.placeholder', 'Symbol glyph required for glyph configuration')); ?>" />
</label>
</fieldset>
<fieldset class="spiralist-form__fieldset" data-contribution-only="transformation">
<legend><?php echo esc_html($ui_text('page.contribute.transformation.legend', 'Transformation Definition')); ?></legend>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.input_symbol_id', 'Input Symbol ID')); ?></span>
<input type="text" name="input" autocomplete="off" placeholder="<?php echo esc_attr($ui_text('page.contribute.input.placeholder', 'spiral.symbol.circle')); ?>" />
<small class="spiralist-form__error" data-field-error="input" hidden></small>
</label>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.output_symbol_id', 'Output Symbol ID')); ?></span>
<input type="text" name="output" autocomplete="off" placeholder="<?php echo esc_attr($ui_text('page.contribute.output.placeholder', 'spiral.symbol.dual-circle')); ?>" />
<small class="spiralist-form__error" data-field-error="output" hidden></small>
</label>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('form.chain', 'Chain')); ?></span>
<input type="text" name="chain" autocomplete="off" placeholder="<?php echo esc_attr($ui_text('page.contribute.chain.placeholder', 'spiral.symbol.circle, spiral.symbol.dual-circle')); ?>" />
<small class="spiralist-form__error" data-field-error="chain" hidden></small>
</label>
</fieldset>