瀏覽代碼

Signed-off-by: zry <admin@z-touhou.org>

zry 8 年之前
父節點
當前提交
e595ee9567
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      templates/home/sysconf.category.edit.html
  2. 1 1
      views/home.py

+ 2 - 2
templates/home/sysconf.category.edit.html

@@ -35,8 +35,8 @@
     {% for item in form %}
 	<div class="form-group">
 		<label class="control-label col-md-1">{{item.label}}</label>
-		<div class="col-md-2">{{item}}</div>
-		<div class="col-md-offset-1 col-md-10">{{item.errors}}</div>
+		<div class="col-md-5">{{item}}</div>
+		<div class="col-md-6">{{item.errors}}</div>
 	</div>
 	{% endfor %}
 	<div class="form-group">

+ 1 - 1
views/home.py

@@ -217,7 +217,7 @@ def CategoryDel(request,ID):
 	return HttpResponseRedirect(reverse('pichublog_catlist'))
 
 @PermNeed('pichublog','Admin')
-def AjaxCategoryMoveOrder(request,Proj):
+def AjaxCategoryMoveOrder(request):
 	chkpr = CheckPOST(['dct','mvid'],request.GET.keys())
 	if not chkpr == "" :
 		return JsonResponse({"code":400,"msg":"Error Args."})