{% extends "cardbox/base.html" %}
{% block title %}Tsune - Kartenansicht{% endblock %}
{% block content %}
    {% include "cardbox/card/card_delete_popup.html" %}
    <div class="row">
        <div class="col-md-12">
            <div class="jumbotron learning">
                <div class="container">
                    <h1 id="question">{{ object.front }}</h1>

                    <p id="answer" style="height: 240px;">{{ object.back }}</p>

                    <div class="row">
                        <a class="btn btn-primary btn-lg col-md-2"
                           onclick="show_delete_popup('{% url 'card:card_delete' object.deck.ID object.ID %}')"
                           style="text-align:center">L&ouml;schen</a>
                        <a class="btn btn-primary btn-lg col-md-offset-8 col-md-2"
                            style="text-align:center"
                            href="{% url 'card:card_list' object.deck.ID %}">Zur&uuml;ck</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
{% extends "cardbox/base.html" %}
{% block title %}Tsune - Kartenansicht{% endblock %}
{% block content %}
    {% include "cardbox/card/card_delete_popup.html" %}
    <div class="row">
        <div class="col-md-12">
            <div class="jumbotron learning">
                <div class="container wordwrap">
                    <h1 id="question">{{ object.front }}</h1>

                    <p id="answer" style="height: 240px;">{{ object.back }}</p>

                    <div class="row">
                        <a class="btn btn-primary btn-lg col-md-2"
                           onclick="show_delete_popup('{% url 'card:card_delete' object.deck.ID object.ID %}')"
                           style="text-align:center">L&ouml;schen</a>
                        <a class="btn btn-primary btn-lg col-md-offset-3 col-md-2"
                            style="text-align:center"
                            href="{% url 'card:card_edit' object.deck.ID object.ID %}">Bearbeiten</a>
                        <a class="btn btn-primary btn-lg col-md-offset-3 col-md-2"
                            style="text-align:center"
                            href="{% url 'card:card_list' object.deck.ID %}">Zur&uuml;ck</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
Add edit button to card detail template
Add edit button to card detail template
