{% extends "kegadmin/base.html" %} {% load kegweblib %} {% load crispy_forms_tags %} {% block title %}Twitter Settings | {{ block.super }}{% endblock %} {% block pagetitle %}Twitter Settings{% endblock %} {% block kegadmin-main %} {% if not EMBEDDED %}

Twitter API Keys

API Keys are needed before your Kegbot can talk to Twitter. To register for API keys, see the Twitter Developer site.

{% csrf_token %} {{credentials_form|crispy }}
{% endif %} {% if have_credentials %} {% if site_profile %}

System Twitter Account

Twitter is currently linked to @{{ site_profile.twitter_name }}.

{% csrf_token %}

{% else %}

Link Twitter Account

Link a Twitter account to this Kegbot for system-wide use.

{% csrf_token %}

{% endif %}

Settings

Site-wide settings control how Kegbot will use the system account.

{% csrf_token %} {{ settings_form|crispy }}

Tweet

{% csrf_token %} {{ tweet_form|crispy }}
{% else %}

Other Twitter settings can be changed once API keys are set.

{% endif %} {% endblock %}