Commits

salvator committed 502ff19

fixed #20 - hide/show fieldsets

Comments (0)

Files changed (2)

 
 * Insert `admintools_bootstrap` to your INSTALLED_APPS before `admin_tools` and `django.contrib.admin` apps.
 * Make sure you have static files application installed and configured. See https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/ for details.
-
-
-Enjoy.
+* Enjoy.
 
 
 Site name in navigation bar and title

admintools_bootstrap/static/admintools_bootstrap/lib/style.less

 } 
 
 .action-wrapper .chzn-search { display: none; }
+
+fieldset {
+	&.collapsed * + * {
+		display: none;
+	}
+	h2 { 
+		border-bottom: 1px solid @grayLight; 
+		margin-bottom: 0.5em;
+	}
+}