{% extends 'atlas/base.html' %}

{% block content %}



    <div>
        <h3>Name: {{question_schema.name}}</h3>
        <p>Description: {{question_schema.description}}</p>

        <details><summary>JSON:</summary>{{question_schema.schema}}</details>

        {{example_form}}

        <a href='{% url "atlas:question_schema_update" pk=question_schema.pk %}'><button>Edit</button></a>
        <a href='{% url "atlas:question_schema_delete" pk=question_schema.pk %}'><button>Delete</button></a>

    </div>

{% endblock %}

{% block js %}
{{example_form.media}}
{% endblock %}
