Switch to unified view

a/Allura/allura/lib/widgets/forms.py b/Allura/allura/lib/widgets/forms.py
...
...
150
                fev.MaxLength(15),
150
                fev.MaxLength(15),
151
                fev.Regex(
151
                fev.Regex(
152
                    r'^[A-z][-A-z0-9]{2,}$',
152
                    r'^[A-z][-A-z0-9]{2,}$',
153
                    messages={'invalid':'Please use only letters, numbers, and dashes 3-15 characters long.'}),
153
                    messages={'invalid':'Please use only letters, numbers, and dashes 3-15 characters long.'}),
154
                NeighborhoodProjectTakenValidator()))
154
                NeighborhoodProjectTakenValidator()))
155
        Wiki = ew.Checkbox(label="", attrs={'class':'unlabeled'})
155
156
        Git = ew.Checkbox(label="", attrs={'class':'labeled scm'})
156
        tools = ew.CheckboxSet(name='tools', options=[
157
        Hg = ew.Checkbox(label="", attrs={'class':'labeled scm'})
157
            ew.Option(label='Wiki', html_value='Wiki', selected=True),
158
        SVN = ew.Checkbox(label="", attrs={'class':'labeled scm'})
158
            ew.Option(label='Git', html_value='Git', selected=True),
159
        Tickets = ew.Checkbox(label="", attrs={'class':'unlabeled'})
159
            ew.Option(label='Hg', html_value='Hg'),
160
        Downloads = ew.Checkbox(label="", attrs={'class':'unlabeled'})
160
            ew.Option(label='SVN', html_value='SVN'),
161
        Discussion = ew.Checkbox(label="", attrs={'class':'unlabeled'})
161
            ew.Option(label='Tickets', html_value='Tickets', selected=True),
162
        Blog = ew.Checkbox(label="", attrs={'class':'unlabeled'})
162
            ew.Option(label='Downloads', html_value='Downloads', selected=True),
163
            ew.Option(label='Discussion', html_value='Discussion', selected=True),
164
            ew.Option(label='Blog', html_value='Blog')
165
        ])
163
166
164
    def resources(self):
167
    def resources(self):
165
        for r in super(NeighborhoodAddProjectForm, self).resources(): yield r
168
        for r in super(NeighborhoodAddProjectForm, self).resources(): yield r
166
        yield ew.CSSLink('css/add_project.css')
169
        yield ew.CSSLink('css/add_project.css')
167
        project_name = g.antispam.enc('project_name')
170
        project_name = g.antispam.enc('project_name')