diff --git a/app/views/shixuns/_settings_edit.html.erb b/app/views/shixuns/_settings_edit.html.erb index 21ffacfb..be896706 100644 --- a/app/views/shixuns/_settings_edit.html.erb +++ b/app/views/shixuns/_settings_edit.html.erb @@ -304,6 +304,7 @@
placeholder="请输入类别名称"/>
@@ -312,6 +313,7 @@
placeholder="请输入类别名称"/>
@@ -320,6 +322,7 @@
placeholder="请输入类别名称"/>
@@ -328,6 +331,7 @@
placeholder="请输入类别名称"/>
@@ -365,12 +369,13 @@

- > +
+ disabled= + placeholder="请输入类别名称"/>
@@ -378,6 +383,7 @@
placeholder="请输入类别名称"/>
@@ -386,6 +392,7 @@
placeholder="请输入类别名称"/>
@@ -394,6 +401,7 @@
placeholder="请输入类别名称"/>
@@ -529,9 +537,10 @@ } var data={ "listname":arrs, - "list":idarr + "list":idarr, + "admin":<%= User.current.admin? %> }; - debugger + var htmlidarr=bt('t:edit-setting-list',data); document.getElementById('result').innerHTML=htmlidarr; $("input[name='small_type']").val(idarr);