Skip to content

Commit

Permalink
[#2375] Update config to use new auto form
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Aug 14, 2012
1 parent f687faf commit 1a3839a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/admin/config.html
@@ -1,4 +1,4 @@
{% import 'macros/form.html' as form %}
{% import 'macros/autoform.html' as autoform %}

{% extends "page.html" %}

Expand All @@ -10,7 +10,7 @@
<h1 class="page-heading">{{ _('Configuration Settings') }}</h1>

<form method='post' action="" class="form-horizontal">
{{ form.autoform(form_items, data, errors) }}
{{ autoform.generate(form_items, data, errors) }}
<div class="form-actions">
{# Update needs to come first so form submits when return is pressed #}
<button type="submit" class="btn btn-primary" name="save">Update</button>
Expand Down

0 comments on commit 1a3839a

Please sign in to comment.