Added content max length

This commit is contained in:
Gregorio Chiko Putra 2017-09-06 14:14:14 +07:00
parent c77730e516
commit 89315c0930
4 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
<h2>Login</h2>
<label for="username">Username: </label>
<input type="text" name="username" value="" placeholder="Type your username">
<input type="text" name="username" value="" placeholder="Type your username" maxlength="25">
<br>

View File

@ -7,12 +7,12 @@
<h2>Registrasi</h2>
<label for="full_name">Nama Lengkap: </label>
<input type="text" name="full_name" value="" placeholder="Type your name">
<input type="text" name="full_name" value="" placeholder="Type your name" maxlength="50">
<br>
<label for="username">Username: </label>
<input type="text" name="username" value="" placeholder="Type your username">
<input type="text" name="username" value="" placeholder="Type your username" maxlength="25">
<br>

View File

@ -22,7 +22,7 @@
<br>
<label for="content">Konten: </label>
<textarea name="content" rows="3" cols="30">{{ post.content }}</textarea>
<textarea name="content" rows="3" cols="30" maxlength="255">{{ post.content }}</textarea>
<br>

View File

@ -26,7 +26,7 @@
<br>
<label for="content">Konten</label>
<textarea name="content" rows="3" cols="30"></textarea>
<textarea name="content" rows="3" cols="30" maxlength="255"></textarea>
<input type="hidden" name="creator" value="{{ user }}">