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

15 lines
403 B
Python

from django import forms
from django.utils.translation import ugettext_lazy as _
from .options import SoftwareService, SoftwareServiceForm
class PHPListForm(SoftwareServiceForm):
email = forms.EmailField(label=_("Email"), widget=forms.TextInput(attrs={'size':'40'}))
class PHPListService(SoftwareService):
verbose_name = "phpList"
form = PHPListForm
icon = 'saas/icons/Phplist.png'