Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ce959eb267
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (25 sloc) 0.753 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
{% extends "base_community.html" %}

{% block content %}
<h1>Community</h1>

{% if adding %}
  <h2 class="deck">Add a {{ feed_type }} feed:</h2>
{% else %}
  <h2 class="deck">Edit {{ feed }}:</h2>
{% endif %}

<form method="POST" action="" id="add_feed_form" class="wide">
  {% for field in form %}
    <p>
      <label id="{{ field.auto_id }}">{{ field.label }} - <span class="help">{{ field.help_text }}</label>
      {% if field.errors %}
        <p class="errors">{{ field.errors.as_text }}</p>
      {% endif %}
      {{ field }}
    </p>
  {% endfor %}
  {% if adding %}
    <p class="submit"><input type="submit" value="Add Feed"></p>
  {% else %}
   <p class="submit"><input type="submit" value="Save"></p>
  {% endif %}
</form>

{% endblock %}
Something went wrong with that request. Please try again.