{% extends 'layouts/base.html' %} {% block title %} GMU RoomList | {{ student.user.first_name }} {{ student.user.last_name }} {% endblock %} {% load socialaccount %} {% block content %} {% get_social_accounts student.user as accounts %}
Room: {{ student.room }}
Major: {{ student.major.major_name }}
Email: {{ student.user.email }}
{% if accounts.facebook %} Facebook {% endif %}
{% if accounts.google %} Google+ {% endif %}
{% if accounts.twitter %} Twitter {% endif %}
{% endblock %}