From fbde8d42fe20a76d6669aeb12453429cf731031a Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Sat, 10 Jan 2015 16:48:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- juser/views.py | 1 + static/css/style.css | 7 +------ templates/juser/user_add.html | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/juser/views.py b/juser/views.py index e632ef9f0..6f5c4803a 100644 --- a/juser/views.py +++ b/juser/views.py @@ -106,6 +106,7 @@ def user_add(request): name = request.POST.get('name', None) email = request.POST.get('email', '') groups = request.POST.getlist('groups', None) + groups_str = ' '.join(groups) role_post = request.POST.get('role', None) ssh_pwd = request.POST.get('ssh_pwd', None) ssh_key_pwd1 = request.POST.get('ssh_key_pwd1', None) diff --git a/static/css/style.css b/static/css/style.css index 956572145..8550c5a87 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,10 +1,5 @@ @import url("//fonts.useso.com/css?family=Open+Sans:300,400,600,700&lang=en"); -/* - * - * INSPINIA - Responsive Admin Theme - * Copyright 2014 Webapplayers.com - * -*/ + h1, h2, h3, diff --git a/templates/juser/user_add.html b/templates/juser/user_add.html index 58c1a37bc..ac7730da9 100644 --- a/templates/juser/user_add.html +++ b/templates/juser/user_add.html @@ -73,7 +73,7 @@