-
Notifications
You must be signed in to change notification settings - Fork 2k
/
base_form_page.html
34 lines (31 loc) · 1.08 KB
/
base_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
{% extends "package/base.html" %}
{% block primary_content %}
<section class="module">
{% block page_header %}{% endblock %}
<div class="module-content">
{% block primary_content_inner %}
{% block form %}{{ c.form | safe }}{% endblock %}
{% endblock %}
</div>
</section>
{% endblock %}
{% block secondary_content %}
{% block info_module %}
<section class="module module-narrow module-shallow">
<h2 class="module-heading"><i class="icon-info-sign"></i> {{ _('What are datasets?') }}</h2>
<div class="module-content">
<p>
{% trans %}
Datasets are simply used to group related pieces of data. These
can then be found under a single url with a description and
licensing information.
{% endtrans %}
</p>
</div>
</section>
{% endblock %}
{% block resources_module %}
{# TODO: Pass in a list of previously created resources and the current package dict #}
{% snippet "package/snippets/resources.html", pkg={}, action='new_resource' %}
{% endblock %}
{% endblock %}