# HG changeset patch # User rougeronj # Date 1348564431 -7200 # Node ID 7d1267aa2f55b71eaf74dacfa3d545ef79c1e904 # Parent 8d62f45fe393ffb2515808ca447033efdb34dd23# Parent 923429f142ea9ad56150466193551c2db7208826 Merge with 923429f142ea9ad56150466193551c2db7208826 diff -r 923429f142ea -r 7d1267aa2f55 src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_content.html --- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_content.html Tue Sep 25 11:07:13 2012 +0200 +++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_content.html Tue Sep 25 11:13:51 2012 +0200 @@ -37,6 +37,7 @@ "{% url ldt.ldt_utils.views.content.get_duration %}"); }); + // the function stopRKey prevents from the validation of the form if the user tape enter button while entering a field function stopRKey(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); @@ -51,11 +52,19 @@ {% block css_import %} {{ block.super }} - {#{ content_form.media.css }#} + {{ content_form.media.css }} + + + + + + {% endblock %} {% block content %} + + {% if media_form.errors %}
{% trans "The operation could not be performed because one or more error(s) occurred.
Please resubmit the media form after making the following changes:" %}