{% extends "registration/base.html" %}

{% block title %}Register a hub - {{ block.super }}{% endblock title %}

{% block section_title %}
Apply to be an Ingite Community
{% endblock section_title %}

{% block section %}
{% if object_list %}
<h3>Existing applications</h3>

<table>
  <tr>
    <th>Name</th>
    <th>Created</th>
    <th>Status</th>
    <th>Notes</th>
  </tr>
  {% for object in object_list %}
  <tr>
    <td>{{ object.name }}</td>
    <td>{{ object.created }}</td>
    <td>{{ object.get_status_display }}</td>
    <td>{{ object.notes }}</td>
  </tr>
  {% endfor%}
</table>
{% endif %}


<h3>Apply an Ignite community</h3>

<p>
  Apply to be a Gigabit community.
</p>

<form method="post" action=".">
  {% include "includes/form.html" with form=form %}
  <p>
    {% csrf_token %}
    <button type="submit">Register</button>
  </p>
</form>

{% endblock section %}

{% extends "registration/base.html" %}

{% block title %}Add your community - {{ block.super }}{% endblock title %}

{% block section_title %}
Add your community to our hub
{% endblock section_title %}

{% block section %}
{% if object_list %}
<h3>Existing applications</h3>
<table>
  <tr>
    <th>Name</th>
    <th>Created</th>
    <th>Status</th>
    <th>Notes</th>
  </tr>
  {% for object in object_list %}
  <tr>
    <td>{{ object.name }}</td>
    <td>{{ object.created }}</td>
    <td>{{ object.get_status_display }}</td>
    <td>{{ object.notes }}</td>
  </tr>
  {% endfor%}
</table>
{% endif %}


<h3>Add your community</h3>

<p>
  Apply to be a Gigabit community.
</p>

<form method="post" action=".">
  {% include "includes/form.html" with form=form %}
  <p>
    {% csrf_token %}
    <button type="submit">Apply</button>
  </p>
</form>

{% endblock section %}

Update wording for the application.
Update wording for the application.
