{% extends "base.html" %}

{% block content %}
<div class="container mt-4">
    <h2>Settings</h2>
    <form method="post">
        {% csrf_token %}
        <div class="mb-3">
            <label for="custom_instructions" class="form-label">Custom AI Instructions</label>
            <textarea class="form-control" id="custom_instructions" name="custom_instructions" rows="10">{{ custom_instructions.value }}</textarea>
            <div class="form-text">
                These instructions will be added to the AI's system prompt.
            </div>
        </div>
        <button type="submit" class="btn btn-primary">Save</button>
    </form>
</div>
{% endblock %}
