<div class="role-tree {%- if !inherit %} role-tree--no-inherit{% endif -%}">
  <div class="role-tree__rolname">
    {{ role.rolname }}
  </div>
  {% if !branches.is_empty() %}
    <ul class="role-tree__branches">
      {% for branch in branches %}
        <li class="role-tree__branch">{{ branch.render()? | safe }}</li>
      {% endfor %}
    </ul>
  {% endif %}
</div>
