优化表单组件验证

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

@@ -10,7 +10,7 @@
<div class="form-group">
<label class="col-sm-2 control-label">标题</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="title" value="{$info.title|default=''}" style="width: 80%">
<input type="text" class="form-control" name="title" value="{$info.title|default=''}" style="width: 80%" data-rule="required">
<span class="help-block">(用于后台显示的配置标题)</span>
</div>
</div>