<?php
/**
 * Underscore.js template
 *
 * @package fusion-builder
 * @since 2.0
 */

?>
<script type="text/html" id="tmpl-fusion_alert-shortcode">
<div {{{ _.fusionGetAttributes( attr ) }}}>
	<div class="fusion-alert-content-wrapper">
		<# if ( 'undefined' !== typeof values.icon && 'none' !== values.icon ) { #>
			<span class="alert-icon">
				<i class="{{ _.fusionFontAwesome( values.icon ) }}" aria-hidden="true"></i>
			</span>
		<# } #>
		<span {{{ _.fusionGetAttributes( contentAttr ) }}}>
			{{{ FusionPageBuilderApp.renderContent( values.element_content, cid, false ) }}}
		</span>
	</div>
	<# if ( 'boxed' === values.dismissable || 'floated' === values.dismissable ) { #>
		<button type="button" class="close toggle-alert" data-dismiss="alert" aria-label="Close" style="{{ buttonStyles }}">&times;</button>
	<# } #>
</div>
</script>
