django-orchestra-test/orchestra/apps/saas/services/phplist.py

18 lines
408 B
Python

from django import forms
from django.utils.translation import ugettext_lazy as _
from orchestra.forms import PluginDataForm
from .options import SoftwareService
class PHPListForm(PluginDataForm):
email = forms.EmailField(label=_("Email"))
class PHPListService(SoftwareService):
verbose_name = "phpList"
form = PHPListForm
description_field = 'email'
icon = 'saas/icons/Phplist.png'