stupidcomputer
2fceb6679f
this is insecure, terrible, horrible code. do not use. things implemented: - add trusted users - add trusted channels and follower channels - qr codes and stuff
32 lines
878 B
HTML
32 lines
878 B
HTML
{% extends 'base.html' %}
|
|
{% block 'body' %}
|
|
|
|
<h1>Add groups to "{{ org.name }}"</h1>
|
|
|
|
{% if trusted %}
|
|
<form class="form-horizontal" action="{% url 'add_trusted_channel' org.id %}" method="POST">
|
|
{% else %}
|
|
<form class="form-horizontal" action="{% url 'add_channel_to_organization' org.id %}" method="POST">
|
|
{% endif %}
|
|
<style>
|
|
.name-modified {
|
|
font-weight: 100;
|
|
}
|
|
</style>
|
|
|
|
{% for group in groups %}
|
|
<div class="checkbox-inline">
|
|
<input type="checkbox" id="g_{{ group.id }}" value="{{ group.id }}" name="g_{{ group.id }}" />
|
|
<label for="g_{{ group.id }}" class="name-modified">{{ group.name }}</label>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<div class="form-group">
|
|
<button type="submit" class="btn btn-primary">Create organization</button>
|
|
</div>
|
|
|
|
{% csrf_token %}
|
|
</form>
|
|
|
|
{% endblock %}
|