---
type: "Source File"
title: "<div class=\"submit-page\">"
description: "{% extends \"base.html\" %} {% block title %}Submit a Layoff Story — CopeCheck Layoffs{% endblock %} {% block meta_desc %}Found a layoff story we missed? Submit the URL and we'll process it through our scanner.{%."
resource: "https://layoffs.copecheck.com"
tags: ["copecheck", "layoffs", "source-file", "html"]
timestamp: "2026-05-08T01:50:10Z"
site: "layoffs"
source_path: "copecheck-layoffs/templates/submit.html"
---

# <div class="submit-page">

Source path: `copecheck-layoffs/templates/submit.html`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-05-08T01:50:10Z`

```html
{% extends "base.html" %}
{% block title %}Submit a Layoff Story — CopeCheck Layoffs{% endblock %}
{% block meta_desc %}Found a layoff story we missed? Submit the URL and we'll process it through our scanner.{% endblock %}

{% block content %}
<div class="submit-page">
    <h2 class="section-title">Submit a Layoff Story</h2>
    <p style="color: var(--text-secondary); margin-bottom: 1.5rem;">Found a layoff announcement we haven't covered? Paste the URL below and our scanner will process it through the same pipeline we use for automated detection — Brave Search, Crawl4AI extraction, and MiniMax analysis.</p>

    <form id="submit-form" class="submit-form">
        <div class="form-group">
            <label for="url">Article URL <span style="color: var(--accent);">*</span></label>
            <input type="url" id="url" name="url" required placeholder="https://example.com/company-lays-off-workers" autocomplete="off">
        </div>
        <div class="form-group">
            <label for="note">Note <span style="color: var(--text-muted);">(optional)</span></label>
            <textarea id="note" name="note" rows="3" placeholder="Any extra context — company name, number affected, etc."></textarea>
        </div>
        <button type="submit" class="submit-btn">Submit URL</button>
    </form>

    <div id="submit-result" class="submit-result" style="display:none;"></div>

    <div class="recent-submissions" style="margin-top: 3rem;">
        <h3 style="color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;">How it works</h3>
        <ol style="color: var(--text-secondary); margin-top: 1rem; padding-left: 1.2rem; line-height: 2;">
            <li>You submit a URL to a layoff news article</li>
            <li>Our scanner fetches and extracts the article content</li>
            <li>MiniMax AI identifies the company, headcount, and sector</li>
            <li>The Layoff Oracle generates a cope verdict</li>
            <li>The entry appears on the tracker within 24 hours</li>
        </ol>
    </div>
</div>
{% endblock %}

{% block scripts %}
<script>
document.getElementById('submit-form').addEventListener('submit', async (e) => {
    e.preventDefault();
    const url = document.getElementById('url').value.trim();
    const note = document.getElementById('note').value.trim();
    const result = document.getElementById('submit-result');
    const btn = e.target.querySelector('.submit-btn');

    btn.disabled = true;
    btn.textContent = 'Submitting...';

    try {
        const resp = await fetch('/api/submit', {
            method: 'POST',
            headers: {'Content-Type': 'application/json'},
            body: JSON.stringify({url, note})
        });
        const data = await resp.json();
        if (resp.ok) {
            result.style.display = 'block';
            result.className = 'submit-result success';
            result.innerHTML = '<strong>Submitted!</strong> We\'ll process this URL in the next scanner run. Thanks for helping track the human cost.';
            document.getElementById('url').value = '';
            document.getElementById('note').value = '';
        } else {
            result.style.display = 'block';
            result.className = 'submit-result error';
            result.innerHTML = '<strong>Error:</strong> ' + (data.error || 'Something went wrong.');
        }
    } catch (err) {
        result.style.display = 'block';
        result.className = 'submit-result error';
        result.innerHTML = '<strong>Error:</strong> Could not reach the server.';
    }
    btn.disabled = false;
    btn.textContent = 'Submit URL';
});
</script>
{% endblock %}
```
