{#
	Requires:
		categoryKeyword: CategoryKeywordNode
#}

<div class="ptm-result" data-type="category-keyword" data-id="{{ categoryKeyword.GetId() }}">
	<div class="ptm-result__heading">
		<h4 class="pull-left">
			<i class="fa fa-bullseye"></i>
			<span class="keyword-content">{{ categoryKeyword.GetKeyword() }}</span>
		</h4>
		<div class="pull-right">
            <button 
            	class="btn btn-default dnc-sm-action"
            	data-action-id="keyword-refresh" 
            	data-caller-type="category-keyword" 
            	data-caller-id="{{ categoryKeyword.GetId() }}"
            	data-trigger="hover"
            	data-toggle="popover"
            	data-placement="bottom"
            	data-title="{{ actions['keyword-refresh'].label }}"
            	data-content="{{ actions['keyword-refresh'].shortDescription }}"
        	><i class="fa fa-refresh"></i></button>
			<button 
				class="btn btn-default dnc-sm-action" 
				data-action-id="keyword-edit" 
				data-caller-type="category-keyword" 
				data-caller-id="{{ categoryKeyword.GetId() }}"
				data-trigger="hover"
				data-toggle="popover"
				data-placement="bottom"
				data-title="{{ actions['keyword-edit'].label }}"
				data-content="{{ actions['keyword-edit'].shortDescription }}"
			><i class="fa fa-edit"></i></button>
			<button 
				class="btn btn-default dnc-sm-action"
				data-action-id="keyword-delete" 
				data-caller-type="category-keyword" 
				data-caller-id="{{ categoryKeyword.GetId() }}"
				data-trigger="hover"
				data-toggle="popover"
				data-placement="bottom"
				data-title="{{ actions['keyword-delete'].label }}"
				data-content="{{ actions['keyword-delete'].shortDescription }}"
			><i class="fa fa-trash-o"></i></button>
		</div>
	</div>
	<div class="ptm-result__content__container">
		<div class="ptm-result__content ptm-result__details"></div>
		<div class="ptm-result__content ptm-result__actions"></div>
	</div>
</div>

{% for categoryKeyword in categoryKeyword.GetChildCategoryKeywords() %}

	{% include '@dashnex/site-manager/details/category-keyword.twig' %}

{% endfor %}

{% for contentKeyword in categoryKeyword.GetContentKeywords() %}

	{% include '@dashnex/site-manager/details/content-keyword.twig' %}

{% endfor %}