{% if position == 'left' %} {% if has_checkbox %} {% endif %} {% if edit.url is not empty %} {{ link_or_button(edit.url, edit.string) }} {% if where_clause is not empty %} {% endif %} {% endif %} {% if copy.url is not empty %} {{ link_or_button(copy.url, copy.string) }} {% if where_clause is not empty %} {% endif %} {% endif %} {% if delete.url is not empty %} {{ link_or_button(delete.url, delete.string, {'class': 'delete_row requireConfirm' ~ (is_ajax ? ' ajax') }) }} {% if js_conf is not empty %}
{{ js_conf }}
{% endif %}
{% endif %} {% elseif position == 'right' %} {% if delete.url is not empty %} {{ link_or_button(delete.url, delete.string, {'class': 'delete_row requireConfirm' ~ (is_ajax ? ' ajax') }) }} {% if js_conf is not empty %}
{{ js_conf }}
{% endif %}
{% endif %} {% if copy.url is not empty %} {{ link_or_button(copy.url, copy.string) }} {% if where_clause is not empty %} {% endif %} {% endif %} {% if edit.url is not empty %} {{ link_or_button(edit.url, edit.string) }} {% if where_clause is not empty %} {% endif %} {% endif %} {% if has_checkbox %} {% endif %} {% else %} {% if has_checkbox %} {% endif %} {% endif %}