13 lines
491 B
PHP
13 lines
491 B
PHP
<div class="commentForm">
|
|
<form action="/article/addComment/" method="POST">
|
|
<input type="hidden" name="answerTo" value="0" />
|
|
<input type="hidden" name="parentType" value="<?= $parentType ?>" />
|
|
<input type="hidden" name="parentId" value="<?= $parentId ?>" />
|
|
<textarea name="text" style="width: 100%;" rows="5"></textarea>
|
|
<br/>
|
|
<div class="buttons">
|
|
<button type="submit" class="btn btn-success">Сохранить комментарий</button>
|
|
</div>
|
|
</form>
|
|
</div>
|