浏览代码

后台必填调整

zhangxiaobin 1 年之前
父节点
当前提交
e00dc2167b
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      application/admin/view/user_power/add.html
  2. 2 2
      application/admin/view/user_power/edit.html

+ 2 - 2
application/admin/view/user_power/add.html

@@ -21,7 +21,7 @@
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Private_messages_time')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-private_messages_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[private_messages_time]" type="text" value="0">
+            <input id="c-private_messages_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[private_messages_time]" type="text" value="0">
         </div>
     </div>
     <div class="form-group">
@@ -39,7 +39,7 @@
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Speak_time')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-speak_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[speak_time]" type="text" value="0">
+            <input id="c-speak_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[speak_time]" type="text" value="0">
         </div>
     </div>
     <div class="form-group">

+ 2 - 2
application/admin/view/user_power/edit.html

@@ -21,7 +21,7 @@
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Private_messages_time')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-private_messages_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[private_messages_time]" type="text" value="{$row.private_messages_time|htmlentities}">
+            <input id="c-private_messages_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[private_messages_time]" type="text" value="{$row.private_messages_time|htmlentities}">
         </div>
     </div>
     <div class="form-group">
@@ -39,7 +39,7 @@
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Speak_time')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-speak_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[speak_time]" type="text" value="{:$row.speak_time?datetime($row.speak_time):''}">
+            <input id="c-speak_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[speak_time]" type="text" value="{:$row.speak_time?datetime($row.speak_time):''}">
         </div>
     </div>
     <div class="form-group">