{% extends "ndf/base.html" %} {% load i18n %} {% load ndf_tags %} {% load simple_filters %} {% load cache %} {% block title %} {% if node %} {% trans "Edit "%}{{title}} - {{node.name}} {% else %} {% trans "Create "%}{{title}} {% endif %} {% endblock %} {% cache 3600 node_edit_base style %} {% block style %} .divider-line { font-size: xx-large; color:lightgray; } .line-height-2 { line-height:2; } .line-height-2pt5 { line-height:2.5; } .fontsize-x-large { font-size: x-large; } .margin-0 { margin: 0 !important ;} .resource-drawer { border-color: #D3D3D3; border-style: solid; padding: 0 !important; overflow-y: auto; } .resource-drawer li.bullet-item:hover{ background-color: #ecf0f1; cursor:pointer; } .posted-by{ color: #808080; font-size: small; } .selected-resource { background-color:lightgray !important ; } .resource-type-image { height:40px; background-repeat:no-repeat; background-size: 48px 48px } #type_of{ height:36px; } {% endblock %} {% endcache %} {% block head %} {{block.super}} {% if title == "Page" or "File" in node.member_of_names_list %} {% endif %} {% endblock %} {% block body_content %}
{% endblock %} {% block document_ready %} {{block.super}} $("input[id='educational']").each(function(){ $(this).attr("required", ""); $(this).css("width", "98%"); $(this).css("float", "left"); $(this).after("Please fill valid "+this.name+""); $(this).after("*"); }); {% endblock %}