From c7937b422f8e868361e15be0ba353941414c9410 Mon Sep 17 00:00:00 2001 From: Toby Date: Tue, 29 May 2012 16:32:47 +0100 Subject: [PATCH] 2375 move add dataset form to separate file so errors show --- ckan/templates/package/new.html | 85 +------------------ ckan/templates/package/new_package_form.html | 87 ++++++++++++++++++++ 2 files changed, 88 insertions(+), 84 deletions(-) create mode 100644 ckan/templates/package/new_package_form.html diff --git a/ckan/templates/package/new.html b/ckan/templates/package/new.html index 4f702c21cd4..3e6e6844bf2 100644 --- a/ckan/templates/package/new.html +++ b/ckan/templates/package/new.html @@ -19,90 +19,7 @@
${h.snippet('package/new_stages.html', stage=1)} - -
-
-

Errors in form

-

The form contains invalid entries:

-
    -
  • ${"%s: %s" % (key if not key=='Name' else 'URL', error)}
  • -
-
- -
- -
- - ${error} -
-
- -
- -
- - ${error} -
-
- -
- -
- - You can use Markdown editing here - ${error} -
-
- -
- -
- - ${error} - Don't worry if you don't know which license the data has been released under -
-
- -
- -
- -
- -
- -
- - -
- - -
-
-
-
-
- -
- Cancel - -
-
+ ${c.form}
diff --git a/ckan/templates/package/new_package_form.html b/ckan/templates/package/new_package_form.html new file mode 100644 index 00000000000..95472482faa --- /dev/null +++ b/ckan/templates/package/new_package_form.html @@ -0,0 +1,87 @@ +
+
+

Errors in form

+

The form contains invalid entries:

+
    +
  • ${"%s: %s" % (key if not key=='Name' else 'URL', error)}
  • +
+
+ +
+ +
+ + ${error} +
+
+ +
+ +
+ + ${error} +
+
+ +
+ +
+ + You can use Markdown editing here + ${error} +
+
+ +
+ +
+ + ${error} + Don't worry if you don't know which license the data has been released under +
+
+ +
+ +
+ +
+ +
+ +
+ + +
+ + +
+
+
+
+
+ +
+ Cancel + +
+