mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-22 03:21:01 +00:00
Make comment content required
This commit is contained in:
parent
52cb7270a9
commit
aa3e196b8f
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@
|
|||
@if let Some(ref prev) = previous_comment {
|
||||
<input type="hidden" name="responding_to" value="@prev.id"/>
|
||||
}
|
||||
<textarea id="plume-editor" name="content" dir="auto">@comment_form.content</textarea>
|
||||
<textarea id="plume-editor" name="content" dir="auto" required>@comment_form.content</textarea>
|
||||
<input type="submit" value="@i18n!(ctx.1, "Submit comment")" />
|
||||
</form>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue