Files
checkbot/app/web/templates/prompt_edit.html
T
patrickandClaude Sonnet 5.5 9c4f7366eb
test / pytest (3.11) (push) Waiting to run
test / pytest (3.13) (push) Waiting to run
feat: Phase 6 prompt versioning with test area, retention
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 02:17:01 +01:00

21 lines
1011 B
HTML

{% extends "base.html" %}
{% block title %}Prompt bearbeiten{% endblock %}
{% block content %}
<h1>Prompt bearbeiten</h1>
{% include "_prompt_tabs.html" %}
<section class="card">
<p class="muted">Basis: Version {{ base }}. Gespeichert wird eine neue Version, die noch nicht aktiv ist. Die Begrenzer &lt;daten&gt; und &lt;/daten&gt; sind im Text nicht erlaubt.</p>
<form method="post" action="/prompts/{{ prompt_name }}/draft">
{{ csrf_input }}
<input type="hidden" name="base" value="{{ base }}">
<label for="p-text">Text</label>
<textarea id="p-text" name="text" class="prompt-text" rows="12" required>{{ text }}</textarea>
<label for="p-note">Notiz (optional)</label>
<input id="p-note" name="note" type="text" value="{{ note }}" autocomplete="off">
<div class="actions"><button type="submit">Als Entwurf speichern</button></div>
</form>
{% include "_prompt_notice.html" %}
<p><a href="/prompts/{{ prompt_name }}">Zurück zur Übersicht</a></p>
</section>
{% endblock %}