django-orchestra/orchestra/apps/saas/services/moodle.py
2015-03-27 19:50:54 +00:00

18 lines
451 B
Python

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