Require something in the title field, client side

This commit is contained in:
Magnus Hoff 2017-10-30 13:23:06 +01:00
parent 3dd4927281
commit 7d431b46fe

View file

@ -9,7 +9,7 @@
<form action="" method="POST">
<header>
<h1><input autocomplete=off type=text name=title value="{{title}}" placeholder="Title"></h1>
<h1><input autocomplete=off type=text name=title value="{{title}}" placeholder="Title" required></h1>
</header>
<article>