From: Sean Hammond Date: Tue, 20 Mar 2012 18:32:46 +0000 Subject: Update dataset_form.html X-Git-Url: https://maxious.lambdacomplex.org/git/?p=ckanext-datagovau.git&a=commitdiff&h=15dae57208a75ca6ed8a774b3fb679798a1fd904 --- Update dataset_form.html Copy new_package_form.html from CKAN core over to dataset_form.html, then add the Musical Genre and Composers vocabs back in. --- --- a/ckanext/example/theme/templates/forms/dataset_form.html +++ b/ckanext/example/theme/templates/forms/dataset_form.html @@ -9,7 +9,7 @@

Errors in form

The form contains invalid entries:

@@ -41,9 +42,10 @@
- ${h.url(controller='package', action='search')+'/'}  + ${h.url(controller='package', action='search')+'/'} (edit)

 

+

Warning: URL is very long. Consider changing it to something shorter.

${errors.get('name', '')}
@@ -62,7 +64,7 @@ -
The licence under which the dataset is released.
+
(Don't worry if you don't know which license the data has been released under).
@@ -78,76 +80,51 @@
It is often displayed with the dataset title. In particular, it should start with a short sentence that describes the dataset succinctly, because the first few words alone may be used in some views of the datasets.
--> - - - -
-

Resources: the files and APIs associated with this dataset

- - - - - - - - - -
Resource
- - -
-
    -
  • Add a resource:

  • -
  • -
  • - -
-
-
- -
-

Groups

-
- - - -
- - -
-
-
- -
Group
-
- -
-
Cannot add any groups.
-
-

Tags

-
-
+
+ Groups +
+
+
+ + + +
+ + +
+
+
+ +
Add to:
+
+ +
+
Cannot add any groups.
+
+
+
+ Tags +
-
Comma-separated terms that may link this dataset to similar ones. For more information on conventions, see this wiki page.
+
Comma-separated terms that may link this dataset to similar ones. For more information on conventions, see this wiki page.
e.g. pollution, rivers, water quality
${errors.get('tag_string', '')}
-

Musical Genre

-
-
+
+
@@ -175,8 +151,40 @@
${errors.get('composer_tag_string', '')}
- -
+ + +
+
+

Add resources:

+

Upload or link data files, APIs and other materials related to your dataset.

+
+
+ + + + + + +
+ + + +
+
@@ -198,31 +206,12 @@
A number representing the version (if applicable)
e.g. 1.2.0
-
-
- -
-
-
-
-
- -
-
The organisation credited with or associated with the publication of this data.
- +

Adding custom fields to the dataset such as "location:uk" can help users find it in the search engine. This data will also appear under Additional Information when viewing the dataset.

+
@@ -244,14 +233,31 @@
- - - - -