-
Notifications
You must be signed in to change notification settings - Fork 2k
/
form_page.html
35 lines (31 loc) · 1.14 KB
/
form_page.html
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
30
31
32
33
34
35
{% extends "page.jinja.html" %}
{% block title %}{{ _('Add a Group') }} - {{ super() }}{% endblock %}
{% block breadcrumb %}
<ol class="breadcrumb">
<li>{{ h.nav_link(_('Groups'), controller='group', action='index') }}</li>
<li class="current">{% block breadcrumb_link %}{{ h.nav_link(_('Add a Group'), controller='group', action='new') }}{% endblock %}</li>
</ol>
{% endblock %}
{% block primary_content %}
<div class="module">
<div class="content">
<h1 class="page-heading">{{ _('Add a Group') }}</h1>
{% block form %}
{{ c.form | safe }}
{% endblock %}
</div>
</div>
{% endblock %}
{% block secondary_content %}
<div class="module info">
<h2 class="heading"><i class="ckan-icon ckan-icon-info"></i> {{ _('What are Groups?') }}</h2>
<div class="content">
{% trans %}
<p>Whilst tags are great at collecting datasets together, there are
occasions when you want to restrict users from editing a collection.</p>
<p>A group can be set-up to specify which users have permission to add or
remove datasets from it.</p>
{% endtrans %}
</div>
</div>
{% endblock %}