X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=rest%2Ftemplates%2Ftable-default.html;h=d9713060cee32a331bf447ad11a16f20521e6798;hb=8f594dc33c4811a06f6f352984f57bc4b8f9ea51;hp=79d819480a611d4cfa70ad52ea57fe21dba705e7;hpb=ebe0967e8e55577d5f9ff5577accd2d0db1ae498;p=unfold.git diff --git a/rest/templates/table-default.html b/rest/templates/table-default.html index 79d81948..d9713060 100644 --- a/rest/templates/table-default.html +++ b/rest/templates/table-default.html @@ -1,32 +1,15 @@ {% load rest_filters %} - {% for p in properties %} - - {{ p }} - - {% endfor %} + {% if "checkbox" in options %}{% endif %} + {% for f in fields %}{{ f }}{% endfor %} {% for d in data %} - - {% for p in properties %} - -
{{ d|key:p }}
- - {% endfor %} + + {% if "checkbox" in options %}{% endif %} + {% for f in fields %}
{{ d|key:f }}
{% endfor %} {% endfor %} - - \ No newline at end of file + \ No newline at end of file