ID: 074a24d129cb72fb59d0530f7cea6cb2156f2d4a
40 lines
—
974B —
View raw
| {% extends 'layout.html' %}
{# Set variables for base layour #}
{% set title = 'Community administration' %}
{% block content %}
<h3>
Community administration
</h3>
<br />
<form action="" method="POST">
<p>
<b>Name:</b> {{ community['name'] }}
</p>
<p>
<b>Description:</b>
<textarea name="description" class="form-control" maxlength=1024>{{ community['description'] }}</textarea>
</p>
<p>
<b>Allow users to submit posts:</b>
<input type="radio" name="allow_new_posts" value="yes" {{ 'checked' if community['allow_new_posts'] }} /> Yes
<input type="radio" name="allow_new_posts" value="no" {{ 'checked' if not community['allow_new_posts'] }} /> No
</p>
<br />
<p>
<input type="submit" class="button button_info" value="Update settings" />
<a href="{{ url('community', cmty=community['name']) }}">Cancel</a>
</p>
</form>
{% endblock %}
|