<xf:if is="$xf.visitor.canCreateThread()">
	<div class="block" {{ widget_data($widget) }}>
		<div class="block-container">
			<div class="block-body uix_postThreadWidget block-row">
					<i class="mdi mdi-forum"></i>
				<h3 class="uix_postThreadWidget__title">{$title}</h3>
				<div class="uix_postThreadWidget__description">{$options.description|raw}</div>
				<xf:button href="{{ link('forums/create-thread') }}" class="button--cta" icon="write" overlay="true">
					{{ phrase('post_thread') }}
				</xf:button>
			</div>
		</div>
	</div>
</xf:if>

<xf:css src="th_widget_post_thread_uix.less" />