优化表单组件验证

This commit is contained in:
2020-04-20 20:51:38 +08:00
parent 4ae73c90a5
commit 8612f1ffae
12 changed files with 31 additions and 31 deletions

View File

@@ -11,14 +11,14 @@
<div class="form-group">
<label class="col-md-2 control-label">客户端名称</label>
<div class="col-md-10">
<input type="text" class="form-control" style="width:400px;" name="title" value="{$info['title']|default=''}">
<input type="text" class="form-control" style="width:400px;" name="title" value="{$info['title']|default=''}" data-rule="required">
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">APPID</label>
<div class="col-md-10">
<input type="text" class="form-control" style="width:400px;" name="appid" value="{$info['appid']|default=''}">
<input type="text" class="form-control" style="width:400px;" name="appid" value="{$info['appid']|default=''}" data-rule="required">
<span class="help-block"></span>
</div>
</div>