--- a/Allura/allura/lib/widgets/forms.py
+++ b/Allura/allura/lib/widgets/forms.py
@@ -119,9 +119,9 @@
ew.HiddenField(name='project_description', label='Public Description'),
ew.HiddenField(name='neighborhood', label='Neighborhood'),
ew.Checkbox(name="Wiki", label="", attrs={'class':'unlabeled'}),
- ew.Checkbox(name="Git", label="", attrs={'class':'labeled'}),
- ew.Checkbox(name="Hg", label="", attrs={'class':'labeled'}),
- ew.Checkbox(name="SVN", label="", attrs={'class':'labeled'}),
+ ew.Checkbox(name="Git", label="", attrs={'class':'labeled scm'}),
+ ew.Checkbox(name="Hg", label="", attrs={'class':'labeled scm'}),
+ ew.Checkbox(name="SVN", label="", attrs={'class':'labeled scm'}),
ew.Checkbox(name="Tickets", label="", attrs={'class':'unlabeled'}),
ew.Checkbox(name="Downloads", label="", attrs={'class':'unlabeled'}),
# ew.Checkbox(name="Stats", label="", attrs={'class':'unlabeled'}),
@@ -137,7 +137,7 @@
yield ew.JSScript('''
$(function(){
- var $scms = $('[name=Git],[name=Hg],[name=SVN]');
+ var $scms = $('input[type=checkbox].scm');
var $suggest_btn = $('#suggest_project_name');
var $name_avail_message = $('#name_availablity');
var $name_input = $('input[name="%(project_name)s"]');