{% extends 'oef/base.html' %}
{% block content %}
<form>

    <textarea id="search" name="search" placeholder="Search text.." rows=10 cols=50></textarea>
    <textarea id="replace" name="replace" placeholder="Replace text.." rows=10 cols=50></textarea>
    <br/>
    <label for="exact">Exact match</label><input type="checkbox" name="exact">
    <br/>

    <button 
    hx-post='{% url "oef:questions_diff" %}'
    hx-target="#diff-results">Diff</button>
    <span id="diff-results"></span>
    <button hx-post="{% url 'oef:replace_questions' %}"
    hx-target='#result'>Replace</button>
    <div id="result"></div>
</form>
    

{% endblock content %}