{# Шаблон Underscore #}{% load bwp_verbatim %}{% verbatim %} {% _.each(mfoot.buttons, function(button) { %} {% if (button.action == 'modal_close') { %} {% } else if ((!button.action == "object_add") || (button.model.perms.add)) { %} {% } %} {% }); %} {% endverbatim %}