# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django import forms
from django.forms.formsets import formset_factory

from .utils import BaseDisableableFormSet, ReadOnlyTextInput


class ReferenceForm(forms.Form):
    # Keep reference id
    # Not required since this form is also used to create new references
    ref_id = forms.CharField(label='', required=False,
                             widget=ReadOnlyTextInput())

    # Editable fields
    description = forms.CharField(label='')
    comment = forms.CharField(label='', required=False)


ReferenceFormSet = formset_factory(ReferenceForm,
                                   formset=BaseDisableableFormSet,
                                   extra=0)

7f2b2e940c2642cb6fca4c4792de8ea960f0f5d0
<mask token>


class ReferenceForm(forms.Form):
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>


class ReferenceForm(forms.Form):
    ref_id = forms.CharField(label='', required=False, widget=
        ReadOnlyTextInput())
    description = forms.CharField(label='')
    comment = forms.CharField(label='', required=False)


<mask token>

<mask token>


class ReferenceForm(forms.Form):
    ref_id = forms.CharField(label='', required=False, widget=
        ReadOnlyTextInput())
    description = forms.CharField(label='')
    comment = forms.CharField(label='', required=False)


ReferenceFormSet = formset_factory(ReferenceForm, formset=
    BaseDisableableFormSet, extra=0)

from __future__ import unicode_literals
from django import forms
from django.forms.formsets import formset_factory
from .utils import BaseDisableableFormSet, ReadOnlyTextInput


class ReferenceForm(forms.Form):
    ref_id = forms.CharField(label='', required=False, widget=
        ReadOnlyTextInput())
    description = forms.CharField(label='')
    comment = forms.CharField(label='', required=False)


ReferenceFormSet = formset_factory(ReferenceForm, formset=
    BaseDisableableFormSet, extra=0)

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django import forms
from django.forms.formsets import formset_factory

from .utils import BaseDisableableFormSet, ReadOnlyTextInput


class ReferenceForm(forms.Form):
    # Keep reference id
    # Not required since this form is also used to create new references
    ref_id = forms.CharField(label='', required=False,
                             widget=ReadOnlyTextInput())

    # Editable fields
    description = forms.CharField(label='')
    comment = forms.CharField(label='', required=False)


ReferenceFormSet = formset_factory(ReferenceForm,
                                   formset=BaseDisableableFormSet,
                                   extra=0)
