<div class="commentForm">
	<a name="commentForm"></a>
	<div id="reply" style="display: none;">
		<span class="glyphicon glyphicon-share-alt"></span> ответ на <a href="" id="replyGoToComment">комментарий</a> пользователя
		<span id="replyNick"></span>
		<span class="glyphicon glyphicon-remove btn btn-link" onclick="noReply()"></span>
	</div>
	<form action="/comments/add" method="POST" id="commentForm">
		<input type="hidden" name="answerTo" id="answerTo" value="0" />
		<input type="hidden" name="parentType" value="<?= $parentType ?>" />
		<input type="hidden" name="parentId" value="<?= $parentId ?>" />
		<textarea name="text" id="commentFormTextarea" style="width: 100%;" rows="5"></textarea>
		<br/>
		<span class="btn btn-info pull-right" title="Подсказка по разметке" onclick="$('#articleInfoModal').modal('show');"><span class="glyphicon glyphicon-info-sign"></span></span>
		<div class="buttons">
			<button type="submit" class="btn btn-success">Сохранить комментарий</button>
		</div>
	</form>
</div>
<?= self::renderPartial('modals/articleInfo.php', array(), true) ?>
