|
|
|
@ -48,12 +48,15 @@ class QSOForm(forms.ModelForm):
|
|
|
|
|
|
|
|
|
|
self.helper = FormHelper()
|
|
|
|
|
self.helper.form_id = "qso-log-form"
|
|
|
|
|
self.helper.form_class = "form-inline"
|
|
|
|
|
#self.helper.form_class = "form-inline "
|
|
|
|
|
#self.helper.form_class = "form-horizontal"
|
|
|
|
|
self.helper.form_style = 'inline'
|
|
|
|
|
self.helper.field_template = "bootstrap3/layout/inline_field.html"
|
|
|
|
|
#self.helper.form_style = 'inline'
|
|
|
|
|
#self.helper.field_template = "bootstrap3/layout/inline_field.html"
|
|
|
|
|
self.helper.action = reverse("contest:log")
|
|
|
|
|
self.helper.add_input(Submit('submit', 'Log'))
|
|
|
|
|
#self.helper.layout = Layout(
|
|
|
|
|
# #*(QSOForm.Meta.fields + [ButtonHolder(Submit('submit', 'Submit', css_class='button white'))]))
|
|
|
|
|
# *(QSOForm.Meta.fields + [FormActions(Submit('submit', 'Log!'))]))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def clean_call(self):
|
|
|
|
|