mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-01 03:39:20 +02:00
add required input to admin pages
This commit is contained in:
parent
94719b45b2
commit
56bd2c86b7
@ -11,12 +11,12 @@
|
|||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="body">Content</label>
|
<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>
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-12 col-sm-12 col-lg-6">
|
<div class="col-12 col-sm-12 col-lg-6">
|
||||||
<label for="createdate" class="control-label">Date:</label>
|
<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>
|
||||||
<div class="col-sm-6 pl-0">
|
<div class="col-sm-6 pl-0">
|
||||||
<label for="player_id">Author</label>
|
<label for="player_id">Author</label>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="title">Title</label>
|
<label for="title">Title</label>
|
||||||
<input type="text" id="title" name="title" class="form-control" autocomplete="off" style="cursor: auto;" value="{{ title }}">
|
<input type="text" id="title" name="title" class="form-control" autocomplete="off" style="cursor: auto;" value="{{ title }}" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label for="editor">Content</label>
|
<label for="editor">Content</label>
|
||||||
|
@ -10,15 +10,11 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="title">Page Title</label>
|
<label for="title">Page Title</label>
|
||||||
<input type="text" id="title" name="title" class="form-control" autocomplete="off"
|
<input type="text" id="title" name="title" class="form-control" autocomplete="off" maxlength="29" style="cursor: auto;" value="{{ title }}" required>
|
||||||
maxlength="29"
|
|
||||||
style="cursor: auto;" value="{{ title }}">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="name">Link/name</label>
|
<label for="name">Link/name</label>
|
||||||
<input type="text" id="name" name="name" class="form-control" autocomplete="off"
|
<input type="text" id="name" name="name" class="form-control" autocomplete="off" maxlength="29" style="cursor: auto;" value="{{ name }}" required>
|
||||||
maxlength="29"
|
|
||||||
style="cursor: auto;" value="{{ name }}">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="access">Access</label>
|
<label for="access">Access</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user