forms: enlarged copyright and licence fields

This commit is contained in:
Benjamin Dauvergne 2012-12-06 16:06:21 +01:00
parent 0b1169271d
commit 7ecd7f9063
1 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ class CreateCourseForm(forms.Form):
helper.layout = Layout(
Div(
Div('description', css_class="span4"),
HTML('<div class="span8" class="future-name"></div>'),
HTML('<div class="span8 future-name"></div>'),
css_class='row-fluid'),
'entity',
Div(
@ -130,8 +130,8 @@ class MyCourseForm(request_forms.CopyrigtsForm):
if constant.MYCOURSE_TAG in licence.diffusion_tags:
licence_pks_with_mycourse_tag.append(licence.pk)
self.helper.layout = Layout(
'copyright',
'licence',
Field('copyright', css_class="span8"),
Field('licence', css_class="span8"),
HTML('<script>var licence_pks_with_mycourse_tag = [%s];</script>' %
', '.join(map(str, licence_pks_with_mycourse_tag))),
Fieldset(u'Diffusion sur la plateform d\'e-Learning',