    <tpl:SysIfFormError>
      <p class="error" id="pr">{{tpl:SysFormError}}</p>
    </tpl:SysIfFormError>

    <tpl:SysIfCommentPublished>
      <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p>
    </tpl:SysIfCommentPublished>

    <tpl:SysIfCommentPending>
      <p class="message" id="pr">{{tpl:lang Your comment has been submitted and
      will be reviewed for publication.}}</p>
    </tpl:SysIfCommentPending>

    <!-- # Comment form -->
    <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form">
		<tpl:IfCommentPreview>
			<div id="pr" class="panel panel-primary clearfix">
				<div class="panel-heading">
					<h4 class="panel-title"><i class="fa fa-comment pull-right"></i> {{tpl:lang Your comment}}</h4>
				</div>
				
				<div class="panel-body">			  
				<blockquote style="margin: 0.5em 0;">{{tpl:CommentPreviewContent}}</blockquote>
				</div>
				
				<div class="panel-footer">
				<p class="buttons text-center" style="margin: 0;">
					<input type="submit" class="btn btn-primary" value="{{tpl:lang send}}" />
				</p>
				</div>
			  
			</div>
		</tpl:IfCommentPreview>

	<div class="well clearfix">
      <fieldset>
        <!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
        {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}

        <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label>
        <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
        value="{{tpl:CommentPreviewName encode_html="1"}}" />
        </p>

        <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label>
        <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
        value="{{tpl:CommentPreviewEmail encode_html="1"}}" />
        </p>

        <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label>
        <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
        value="{{tpl:CommentPreviewSite encode_html="1"}}" />
        </p>

        <p style="display:none"><input name="f_mail" type="text" size="30"
        maxlength="255" value="" /></p>

        <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label>
        <textarea name="c_content" id="c_content" cols="35"
        rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
        </p>
        <p class="form-help">{{tpl:CommentHelp}}</p>

        <!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
        {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
      </fieldset>

      <fieldset>
        <p class="buttons">
		<input type="submit" class="btn btn-default" name="preview" value="{{tpl:lang preview}}" />
        <input type="submit" class="btn btn-primary" value="{{tpl:lang send}}" />
		</p>
      </fieldset>
	</div>
    </form>