{% extends "account/base.html" %} {% load crispy_forms_tags %} {% block title %}Account Settings | {{ block.super }}{% endblock %} {% block pagetitle %}Account Settings{% endblock %} {% block kb-account-main %} {% if user.is_staff or user.is_superuser %}

API Access

Use this API key to access the kegbot web service. Ssh! Keep it secret!

{{ user.get_profile.GetApiKey }}
{% csrf_token %} {{ apikey_form.as_p }}
{% else %}

Hello, {{user.username}}!

{% endif %} {% endblock %}