|
- <div class="row">
- <div class="col-lg-10 col-xl-8">
- <div class="card shadow-sm">
- <div class="card-body">
- <h1 class="h3 mb-2">AI Prompt Settings</h1>
- <p class="text-muted mb-4">Edit the template used when generating AI post content.</p>
-
- <form method="post" action="<%= AdminAIPromptUpdateUrl() %>">
- <div class="mb-3">
- <label class="form-label" for="PromptTemplate">Prompt Template</label>
- <textarea class="form-control" id="PromptTemplate" name="PromptTemplate" rows="14" spellcheck="false"><%= H(promptTemplate) %></textarea>
- <div class="form-text">
- Placeholders: <code>{TITLE}</code>, <code>{SUMMARY}</code>, <code>{BODY}</code>
- </div>
- </div>
-
- <div class="d-flex flex-wrap gap-2">
- <button class="btn btn-primary" type="submit">Save Prompt</button>
- <a class="btn btn-outline-secondary" href="<%= AdminUrl() %>">Cancel</a>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
|