瀏覽代碼

Add value to all checkbox and close form tag

Jovan Jovanovic 3 年之前
父節點
當前提交
212a537279
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      resources/views/admin/users/notifications.blade.php

+ 2 - 1
resources/views/admin/users/notifications.blade.php

@@ -35,7 +35,7 @@
                                 <div class="form-group">
                                     <label>Users</label><br>
                                     <input id="all" name="all"
-                                           type="checkbox"
+                                           type="checkbox" value="1"
                                            onchange="toggleClass('users-form', 'd-none')">
                                     <label for="all">All</label>
                                     <div id="users-form">
@@ -97,6 +97,7 @@
                                 <div class="form-group text-right">
                                     <button type="submit" class="btn btn-primary">Submit</button>
                                 </div>
+                            </form>
                         </div>
                     </div>
                 </div>