{% extends "base.html" %}
{% block title %}Edit Markdown - Markdown Editor & Responses{% endblock %}
{% block content %}
    <br />
    <div class="alert alert-primary alert-dismissible fade show" role="alert">
        <h4 class="alert-heading">Prompts</h4>
        <button type="button"
                class="btn-close"
                data-bs-dismiss="alert"
                aria-label="Close"></button>
        <p>Use this page to view and edit the agent prompts.</p>
        <p>
            <em>Note: The prompt template folder is: {{ prompt_template_folder }}</em>
        </p>
    </div>
    <div class="list-group">
        {% for file in files %}
            <a href="{{ url_for('prompts.edit', filename=file) }}"
               class="list-group-item list-group-item-action">
                <i class="bi bi-file-earmark-text"></i> {{ file }}
            </a>
        {% endfor %}
    </div>
{% endblock %}
