{% extends "account/base.html" %}
{% load kegweblib %}

{% block pagetitle %}twitter settings{% endblock %}

{% block kb-account-main %}
  <h2>Twitter Settings</h2>

  <p>
  {% with user.get_profile.TwitterProfile as profile %}
  {% if profile %}
  Your account is linked.
  {% else %}
    {% if USE_TWITTER %}
      To link your twitter account, click below.<br/>
      {% load twitter_tags %}
      {% twitter_button %}
    {% endif %}
  {% endif %}
  {% endwith %}
  </p>
{% endblock %}

