MVP of the weblinks app
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
11
mayan/apps/weblinks/forms.py
Normal file
11
mayan/apps/weblinks/forms.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django import forms
|
||||
|
||||
from .models import WebLink
|
||||
|
||||
|
||||
class WebLinkForm(forms.ModelForm):
|
||||
class Meta:
|
||||
fields = ('label', 'template', 'enabled')
|
||||
model = WebLink
|
||||
Reference in New Issue
Block a user