{% extends "ndf/base.html" %} {% load i18n %} {% load ndf_tags %} {%block title %} Basic Template {% endblock %} {% block body_content %}
{% csrf_token %}
{{node_gs.name}}
{% for bl in basic_list %} {% for val,dummyval in bl.iteritems %}
{% endfor %} {% endfor %}
{% for each in ats %}
{% endfor %}
{% for each in final_ats %}
{% endfor %}
{% for each in f_rts_object_dict %}
{% endfor %}
{% for each in f_pos_rts_object_dict %}
{% endfor %}
{{dummyval}}
{% fetch_req_fields gs_struc|get_dict_item:val val %} {% if val in required_fields %}
*
{% endif %}
{% firstof each.altnames each.name %}
{% ats_fields each.data_type each.name groupid each.complex_data_type each.help_text each.validators gs_struc|get_dict_item:'attribute_set' %}
{% firstof each.altnames each.name %}
{% ats_fields each.data_type each.name groupid each.complex_data_type each.help_text each.validators gs_struc|get_dict_item:'attribute_set' %}
{% firstof each.altnames each.name %}
{% rts_fields each.name each.object_type groupid gs_struc|get_dict_item:'relation_set' %}
{% firstof each.altnames each.name %}
{% rts_fields each.name each.object_type groupid gs_struc|get_dict_item:'relation_set' %}
{% endblock %} {% block script%} function validateForm() { var x = document.forms["{{node_gs.name}}"]["name"].value; if (x == null || x == "") { alert("Name must be filled out"); return false; } } {% endblock %}