{% extends 'onlineanywhere_base.html' %} {% block content %} db_type: {{db_type}}
table_name----: {{table_name}}


{% if row_vals == 'new'%}
{% for col_name, col_type in table_head.items() %} {% if col_name not in exclude_cols %}
{% if col_name == 'category' %} {% elif col_name == 'myconto' %} {% elif col_name == 'plane' %} {% elif col_type == 'varchar' or col_type == 'text'%} {% elif col_type == 'date' %} {% elif col_type == 'time' %} {% elif col_type == 'int' or col_type == 'decimal' or col_type == 'float' %} {% elif col_type == 'tinyint' %} {% else %} {% endif %}
{% endif %} {% endfor %}

{% elif row_vals == 'one_time' %}
{% for col_name, col_type in table_head.items() %} {% if col_name not in exclude_cols %}
{% if col_name == 'category' %} {% elif col_name == 'myconto' %} {% elif col_type == 'varchar' or col_type == 'text'%} {% elif col_type == 'date' %} {% elif col_type == 'time' %} {% elif col_type == 'int' or col_type == 'decimal' or col_type == 'float' %} {% elif col_type == 'tinyint' %} {% else %} {% endif %}
{% endif %} {% endfor %}

{% else %}
{% for col_name, col_type in table_head.items() %} {% if col_name not in exclude_cols %}
{% if col_name == 'category' %} {% elif col_name == 'myconto' %} {% elif col_type == 'varchar' or col_type == 'text'%} {% elif col_type == 'date' %} {% elif col_type == 'time' %} {% elif col_type == 'int' or col_type == 'decimal' or col_type == 'float' %} {% elif col_type == 'tinyint' %} {% if row_vals[loop.index -1] == 1%} {% else %} {% endif %} {% else %} {% endif %}
{% endif %} {% endfor %}


{% if db_type == 'new'%}
{% endif %}

{% endif %}
{% endblock %}