feat: edit comment
This commit is contained in:
parent
800036ce49
commit
c13e172938
8 changed files with 276 additions and 61 deletions
|
|
@ -5,6 +5,14 @@
|
|||
<title>{{ tr(l=l,k="title")|safe }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% if log %}
|
||||
<ul id="log">
|
||||
{% for log_msg in log %}
|
||||
<li class="log-msg">{{ log_msg | safe }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if comments_pending %}
|
||||
<div id="comments_pending">
|
||||
{% for comment in comments_pending %}
|
||||
|
|
@ -74,6 +82,9 @@
|
|||
</ul>
|
||||
{% endif %}
|
||||
<input type="hidden" name="id" value="{{ edit_comment | safe }}" autocomplete="off"/>
|
||||
{% if edit_comment_mutation_token %}
|
||||
<input type="hidden" name="mutation_token" value="{{ edit_comment_mutation_token | safe }}" autocomplete="off"/>
|
||||
{% endif %}
|
||||
<label for="edit_comment-author">{{ tr(l=l,k="comment_form-author")|safe }}</label>
|
||||
<input type="text" id="edit_comment-author" name="author" maxlength="{{ config.comment_author_max_len | safe }}"{% if edit_comment_author %} value="{{ edit_comment_author }}"{% endif %}/><br/>
|
||||
<label for="edit_comment-email">{{ tr(l=l,k="comment_form-email")|safe }}</label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue