{% extends "dashboard/base.html" %}
{% load i18n %}

{% block content %}
  <div class="body-content">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="no-margin">
          {% trans "Ownership transfer" %}
        </h3>
      </div>
      <div class="panel-body">
        {% blocktrans with owner=instance.owner name=instance.name id=instance.id%}
        <strong>{{ owner }}</strong> offered to take the ownership of
        template <strong>{{name}} ({{id}})</strong>.
        Do you accept the responsibility of being the template's owner?
        {% endblocktrans %}
        <div class="pull-right">
          <form action="" method="POST">
            {% csrf_token %}
            <a class="btn btn-default" href="{% url "dashboard.index" %}">{% trans "No" %}</a>
            <input type="hidden" name="key" value="{{ key }}"/>
            <button class="btn btn-danger" type="submit">{% trans "Yes" %}</button>
          </form>
        </div>
      </div>
  </div>
{% endblock %}
