Removed backwards-compatibility for database template loader. Added VERSION information.
[philo.git] / templates / admin / philo / page / add_form.html
index 8937463..b2a6358 100644 (file)
@@ -2,12 +2,13 @@
 {% load i18n %}
 
 {% block form_top %}
-       <p>{% trans "First, choose a template. After saving, you'll be able to provide additional content for containers." %}</p>
-       <input type="hidden" name="_continue" value="1" />
+       {% if not is_popup %}
+               <p>{% trans "First, choose a template. After saving, you'll be able to provide additional content for containers." %}</p>
+       {% else %}
+               <p>{% trans "Choose a template" %}</p>
+       {% endif %}
 {% endblock %}
 
-{% block content %}
-{% with 0 as save_on_top %}
-{{ block.super }}
-{% endwith %}
+{% block after_field_sets %}
+<script type="text/javascript">document.getElementById("id_name").focus();</script>
 {% endblock %}
\ No newline at end of file