WIP: Groups support
This commit is contained in:
17
calsocial/templates/group/create.html
Normal file
17
calsocial/templates/group/create.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'base.html' %}
|
||||
{% from '_macros.html' import field %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{% trans %}Create a group{% endtrans %}</h2>
|
||||
|
||||
<form method="post" class="ui form">
|
||||
{{ form.hidden_tag() }}
|
||||
|
||||
{{ field(form.handle) }}
|
||||
{{ field(form.display_name) }}
|
||||
{{ field(form.visibility) }}
|
||||
|
||||
<button class="ui primary button">{% trans %}Create{% endtrans %}</button>
|
||||
<a href="{{ url_for('group.list_groups') }}" class="ui button">{% trans %}Cancel{% endtrans %}</a>
|
||||
</form>
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user