add required input to admin pages

This commit is contained in:
slawkens
2023-02-06 19:40:06 +01:00
parent 94719b45b2
commit 56bd2c86b7
3 changed files with 5 additions and 9 deletions

View File

@@ -11,12 +11,12 @@
<div class="form-group row">
<label for="body">Content</label>
<textarea class="form-control" id="body" name="body" maxlength="600" cols="50" rows="5">{{ body|raw }}</textarea>
<textarea class="form-control" id="body" name="body" maxlength="600" cols="50" rows="5" required>{{ body|raw }}</textarea>
</div>
<div class="form-group row">
<div class="col-12 col-sm-12 col-lg-6">
<label for="createdate" class="control-label">Date:</label>
<input type="text" class="form-control" id="createdate" name="createdate" autocomplete="off" maxlength="20" value="{{ create_date|date("M d Y, H:i:s") }}"/>
<input type="text" class="form-control" id="createdate" name="createdate" autocomplete="off" maxlength="20" value="{{ create_date|date("M d Y, H:i:s") }}" required/>
</div>
<div class="col-sm-6 pl-0">
<label for="player_id">Author</label>