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

15 lines
403 B
Python
Raw Normal View History

2014-09-28 12:29:18 +00:00
from django import forms
from django.utils.translation import ugettext_lazy as _
2014-11-20 15:34:59 +00:00
from .options import SoftwareService, SoftwareServiceForm
2014-09-28 12:29:18 +00:00
2014-11-20 15:34:59 +00:00
class PHPListForm(SoftwareServiceForm):
email = forms.EmailField(label=_("Email"), widget=forms.TextInput(attrs={'size':'40'}))
2014-09-28 12:29:18 +00:00
class PHPListService(SoftwareService):
verbose_name = "phpList"
form = PHPListForm
2014-10-11 12:43:08 +00:00
icon = 'saas/icons/Phplist.png'