{% comment %} container A layout container which takes in a certain parameters Parameters: - component_name (str): the container component - layout (json): the layout object - layout_object_id (str/int): the object id of the layout - init_edit (bool): whether to initialize editing Slots: - default: layout items - buttons_left: buttons on the left side of the header - buttons_right: buttons on the right side of the header {% endcomment %} {% load bloomerp %}
{{ buttons_left }}
{{ buttons_right }} {% if can_change %} {% endif %}
{% if layout %} {% for row in layout.rows %} {% endfor %} {% else %} {{ slot }} {% endif %}
{% if can_change and change_context %}
Available Items
{% endif %}