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

{% block appbar %}
  <h2><a href="..">{% trans view.kwargs.resource_name %}</a> &mdash; {{ object.title }}</h2>
{% endblock %}

{% block content %}

  <p>
    {{ object.description }}
  </p>

  <ul>
    {% block link_json %}
      <li><abbr title="JavaScript Object Notation">JSON</abbr>: <a href="json">{{ absolute_uri }}json</a></li>
    {% endblock %}
    {% block link_jsonp %}
      <li><abbr title="JSON with Padding">JSONP</abbr>: <a href="jsonp">{{ absolute_uri }}jsonp</a></li>
    {% endblock %}
    {% block links %}
    {% endblock %}
  </ul>

  {% if sample %}
    <h3>{% trans 'Sample' %}</h3>
    <pre class="sample">{{ sample }}</pre>
  {% endif %}

  {% block example %}{% endblock %}

{% endblock %}
