fix: use select to choose article level

Alpha
吴宇涵 2023-03-23 13:58:11 +08:00
parent ec6a2249ae
commit 13ccbaf25c
1 changed files with 12 additions and 6 deletions

View File

@ -45,7 +45,7 @@
<h5 style="margin-top: 10px;padding-left: 10px;">重置选中用户密码</h5>
<form action="" method="post" class="container mb-3">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">用户</label>
<label class="form-label">用户</label>
<select id="username" name="username" class="form-select" aria-label="Default select example">
<option selected>选择用户</option>
{% for user in user_list %}
@ -67,13 +67,19 @@
<h5 style="margin-top: 10px;padding-left: 10px;">录入文章</h5>
<form action="" method="post" class="container mb-3">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">文章内容</label>
<label class="form-label">文章内容</label>
<textarea id="content" name="content" class="form-control" placeholder="请输入文章内容"></textarea>
<label for="exampleInputEmail1" class="form-label">文章来源</label>
<label class="form-label">文章来源</label>
<textarea id="source" name="source" class="form-control" placeholder="请输入来源"></textarea>
<label for="exampleInputEmail1" class="form-label">文章等级</label>
<textarea id="level" name="level" class="form-control" placeholder="请输入等级"></textarea>
<label for="exampleInputEmail1" class="form-label">文章问题</label>
<label class="form-label">文章等级</label>
<select id="level" class="form-select" name="level">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option selected value="5">5</option>
</select>
<label class="form-label">文章问题</label>
<textarea id="question" name="question" class="form-control" placeholder="请输入问题"></textarea>
</div>
<input type="submit" value="保存" class="btn btn-outline-primary">