From 3683728023e401d27d2598b71024e666315c5a55 Mon Sep 17 00:00:00 2001
From: Karson <karsonzhang@163.com>
Date: Mon, 2 Jul 2018 21:37:37 +0800
Subject: [PATCH] 修复switch.stub丢失的BUG

---
 application/admin/command/Crud/stubs/html/switch.stub | 5 +++++
 1 file changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 application/admin/command/Crud/stubs/html/switch.stub

diff --git a/application/admin/command/Crud/stubs/html/switch.stub b/application/admin/command/Crud/stubs/html/switch.stub
new file mode 100644
index 0000000..e2aeec0
--- /dev/null
+++ b/application/admin/command/Crud/stubs/html/switch.stub
@@ -0,0 +1,5 @@
+
+            <input {%attrStr%} name="{%fieldName%}" type="hidden" value="{%fieldValue%}">
+            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-{%field%}" data-yes="{%fieldYes%}" data-no="{%fieldNo%}" >
+                <i class="fa fa-toggle-on text-success {%fieldSwitchClass%} fa-2x"></i>
+            </a>
\ No newline at end of file
--
libgit2 0.24.0