{% extends "forms/tree.html" %} {% load exfiltry %} {% load exsyntax %} {% block pythoncode %} {% endblock %} {% block all %} {% with form_width=800 form_height=600 table_type='scrolled' title="Grupy uniwersalne" %} {{ block.super }} {% endwith %} {% endblock %} {% block list_content_actions_new_row %}
{% with object_list.model|args:parent_pk|call:"get_group_types" as tab %} {% if tab %} Nowy: {% for pos in tab %} {% new_row_inline pos.description "" "" "" "" table_path|append_str:"../../new_group/"|append_str:pos.name|append_str:"/"|append_str:parent_pk|append_str:"/?after_close=refresh" %} {% endfor %} {% endif %} {% endwith %}
{% endblock %} {% block list_row_header %} Title {% endblock %} {% block list_row %} {{object.to_str|safe }} {% endblock %} {% block list_row_actions %} {% if object.get_def.action_template %} {% subtemplate object.get_def.get_action_template %} {% else %} {% row_actions %} edit-inline,Popraw,,,,,{{base_path}}schstruct/table/CommonGroup/{id}/edit__group/ pdf odf field_edit/data,Data,data delete {% endrow_actions %} {% endif %} {% endblock %} {% block id_extra %} {{ block.super }} {% if object.get_def.info_template %} {% subtemplate object.get_def.get_info_template %} {% endif %} {% endblock %} {% block row_edit %} {% form %} {% endform %} {% endblock %}