-
Notifications
You must be signed in to change notification settings - Fork 2k
/
form_page.html
38 lines (33 loc) · 1.26 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
36
37
38
{% extends "page.html" %}
{% block title %}{{ _("Create a Dataset") }} - {{ super() }}{% endblock %}
{% block breadcrumb_content %}
{{ h.snippet('package/snippets/new_package_breadcrumb.html') }}
{% endblock %}
{% block primary_content %}
<section class="module">
<div class="module-content">
{% block stages %}{{ h.snippet('package/snippets/stages.html', stages=stage) }}{% endblock %}
{% block form %}{{ c.form | safe }}{% endblock %}
</div>
</section>
{% endblock %}
{% block secondary_content %}
{% block info_module %}
<section class="module module-narrow">
<h2 class="module-heading"><i class="icon-large 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", resources=[], pkg={}, action='new_resource' %}
{% endblock %}
{% endblock %}