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

15 lines
413 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
2015-03-04 21:06:16 +00:00
icon = 'orchestra/icons/apps/Phplist.png'