Commit 1ca1c716 authored by Joseph Izon's avatar Joseph Izon 💀

add forms.py for the add widget user

parent 01b7857e
from django.forms import ModelForm
from .models import WidgetUser
class WidgetUserForm(ModelForm):
class Meta:
model = WidgetUser
fields = ["last_name", "first_name", "middle_name", "id_num", "email", "dept", "image"]
labels = {"id_num": "ID Number", "email": "Email Address", "dept": "Department Name", "image": "Profile Image" }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment