{% extends "base.html" %}
{% load static %}
{% load materializecss %}
{% block content %}

{% if user.is_authenticated %}
{{form.errors}}
<form method="post">
{% csrf_token %}
{{form|materializecss}}
<button class="btn btn-primary" type="submit">Subscribe</button>
</form>
{% endif %}

{% endblock %}
