# Path: wagtailplus/wagtaillinks/models.py
# class Link(BaseLink):
#     """
#     Concrete implementation of link.
#     """
#     pass


from django import forms
from .models import Link

"""
Contains form class definitions.
"""



class ExternalLinkForm(forms.ModelForm):
    """
    Form class for external link models.
    """
    class Meta(object):
        model   = Link
        fields  = ('title', 'external_url', 'tags')

class EmailLinkForm(forms.ModelForm):
    """
    Form class for email link models.
    """
    class Meta(object):

# Path: wagtailplus/wagtaillinks/models.py
# class Link(BaseLink):
#     """
#     Concrete implementation of link.
#     """
#     pass


# Path: wagtailplus/wagtaillinks/forms.py
from django import forms
from .models import Link

"""
Contains form class definitions.
"""



class ExternalLinkForm(forms.ModelForm):
    """
    Form class for external link models.
    """
    class Meta(object):
        model   = Link
        fields  = ('title', 'external_url', 'tags')

class EmailLinkForm(forms.ModelForm):
    """
    Form class for email link models.
    """
    class Meta(object):

        model   = Link
