Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_tee jays angelos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ramon Angelo Enriquez
widget_tee jays angelos
Commits
cec79492
Commit
cec79492
authored
May 23, 2022
by
Ramon Angelo Enriquez
Browse files
Options
Browse Files
Download
Plain Diff
Added some final CSS styling for the new WidgetUser form in the Homepage App
parents
1f0595db
0632ec69
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
__init__.cpython-39.pyc
...angelos/announcements/__pycache__/__init__.cpython-39.pyc
+0
-0
forms.py
widget_tee_jays_angelos/homepage/forms.py
+1
-1
newuser.html
...tee_jays_angelos/homepage/templates/homepage/newuser.html
+2
-0
No files found.
widget_tee_jays_angelos/announcements/__pycache__/__init__.cpython-39.pyc
View file @
cec79492
No preview for this file type
widget_tee_jays_angelos/homepage/forms.py
View file @
cec79492
...
@@ -7,4 +7,4 @@ class UserForm(ModelForm):
...
@@ -7,4 +7,4 @@ class UserForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
WidgetUser
model
=
WidgetUser
fields
=
[
"last_name"
,
"first_name"
,
"middle_name"
,
"id_num"
,
"email"
,
fields
=
[
"last_name"
,
"first_name"
,
"middle_name"
,
"id_num"
,
"email"
,
"
picture"
,
"department
"
]
"
department"
,
"picture
"
]
widget_tee_jays_angelos/homepage/templates/homepage/newuser.html
View file @
cec79492
{% extends "homepage/base.html" %}
{% extends "homepage/base.html" %}
{% block content %}
{% block content %}
<div
class=
"homepageRectangleHeader"
></div>
<h1
style=
"text-align: center"
>
Add Widget User
</h1>
<form
class=
""
action=
"{% url 'homepage:adduser' %}"
method=
"post"
enctype=
"multipart/form-data"
>
<form
class=
""
action=
"{% url 'homepage:adduser' %}"
method=
"post"
enctype=
"multipart/form-data"
>
{% csrf_token %}
{% csrf_token %}
{{ user_form.as_p }}
{{ user_form.as_p }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment