django-orchestra/orchestra/contrib/saas/services/moodle.py
2015-09-21 10:28:49 +00:00

17 lines
412 B
Python

from django import forms
from django.utils.translation import ugettext_lazy as _
from ..forms import SaaSPasswordForm
from .options import SoftwareService
class MoodleForm(SaaSPasswordForm):
email = forms.EmailField(label=_("Email"))
class MoodleService(SoftwareService):
verbose_name = "Moodle"
form = MoodleForm
description_field = 'site_name'
icon = 'orchestra/icons/apps/Moodle.png'