{% extends "base.html" %} {% block title %} SMS Messages {% endblock %} {% block content %}
{{ search_form.search }} {% csrf_token %}
{% for message in sms_messages.object_list %} {% endfor %}
Number Message Date
{% if message.direction == 'I' %} {% else %} {% endif %} {{ message.connection.identity }} {{ message.text }} {{ message.date }}
{% with sms_messages.paginator as paginator %} {% block paginator %}
{% if not paginator or paginator.num_pages <= 1 %} {{ object_list|length }} result{% if object_list|length == 0 or object_list|length > 1 %}s{% endif %} {% else %} Results {{ sms_messages.start_index }}-{{ sms_messages.end_index }} of {{ paginator.count }} {% endif %}
{% if paginator and paginator.num_pages > 1 %} {% endif %}
{% endblock %} {% endwith %}


You can test the functionality of the system by pretending to be a user here. Enter the phone number you want to simulate and the message you want to send into the system. The reply will appear above in the message log.
{{ form.sender }}
{{ form.text }}
{% csrf_token %}

{% endblock %}