<div class="form-documents">
	{% for (let i=0; i < transactions.length; i++) { %}
		{% if (i % 3 === 0) { %}
		<div class="row">
		{% } %}
			<div class="col-md-4">
				<div class="form-link-title">
					<span>{{ __(transactions[i].label) }}</span>
				</div>
				{% for (let j=0; j < transactions[i].items.length; j++) { %}
					{% let pagetype = transactions[i].items[j]; %}
					<div class="document-link" data-pagetype="{{ pagetype }}">
						<div class="document-link-badge" data-pagetype="{{ pagetype }}">
							<span class="count hidden"></span>
							<a class="badge-link">{{ __(pagetype) }}</a>
						</div>
						<span class="open-notification hidden"
							title="{{ __("Open {0}", [__(pagetype)])}}">
						</span>
						{% if !internal_links[pagetype] %}
							<button class="btn btn-new btn-secondary btn-xs icon-btn hidden"
								data-pagetype="{{ pagetype }}">
								<svg class="icon icon-sm"><use href="#icon-add"></use></svg>
							</button>
						{% endif %}
					</div>
				{% } %}
			</div>
		{% if (i % 3 === 2 || i === (transactions.length - 1)) { %}
		</div>
		{% } %}
	{% } %}
</div>
