{% extends "repapp/base.html" %}
{% load static %}
{% load crispy_forms_tags %}
{% block title %}
    - Rückfrage zum Gerät
{% endblock title %}
{% block page_title %}
    Rückfrage zum Gerät
{% endblock page_title %}
{% block content %}
    <p>
        <a onclick="history.back()" class="btn btn-primary">Zurück</a>
    </p>
    <hr class="mt-0 mb-4">
    <h1 class="mt-2">Rückfrage zum Gerät</h1>
    <form action="{% url 'device_question' device.pk %}" method="post">
        {% csrf_token %}
        {{ form|crispy }}
        <button type="submit" class="btn btn-primary submit_button">Senden</button>
    </form>
    <script type="text/javascript" src="{% static "ckeditor/ckeditor-init.js" %}"></script>
    <script type="text/javascript" src="{% static "ckeditor/ckeditor/ckeditor.js" %}"></script>
{% endblock content %}
