mirror of
https://github.com/sigmasternchen/Diary
synced 2025-03-15 07:08:56 +00:00
Added "required" to some form fields
This commit is contained in:
parent
96d949a1c2
commit
c65f230586
3 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
|||
<div id="contentContainer">
|
||||
<form action="{{ url_for('addentry',name=diary.name) }}" method="POST">
|
||||
Add new entry:<br />
|
||||
<textarea name="text" style="width:99%;height:150px;"></textarea><br/>
|
||||
<textarea name="text" style="width:99%;height:150px;" required></textarea><br/>
|
||||
<input type="submit">
|
||||
</form>
|
||||
<div id="listing">
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
<form method="post" action="{{ url_for('newdiary')}}">
|
||||
You can add a new diary, if you want: <input type="text" name="name" placeholder="name of diary"><input type="submit">
|
||||
You can add a new diary, if you want: <input type="text" name="name" placeholder="name of diary" required><input type="submit">
|
||||
</form>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
</div>
|
||||
<div id="contentContainer">
|
||||
<form method="POST">
|
||||
<input type="text" name="user" placeholder="Username"/><br/>
|
||||
<input type="password" name="pass" placeholder="Password"/><br/>
|
||||
<input type="text" name="user" placeholder="Username" required/><br/>
|
||||
<input type="password" name="pass" placeholder="Password" required/><br/>
|
||||
<input type="submit" value="Login">
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue