Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
red_brick_board
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
1
Merge Requests
1
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
Ciella Francisco
red_brick_board
Commits
b804aa8b
Commit
b804aa8b
authored
Apr 12, 2024
by
Ciella Francisco
😵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited event-form.html to enable image uploads for forms
parent
adf29c2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
event-form.html
...ent_management/templates/event_management/event-form.html
+3
-2
No files found.
redbrickboard/event_management/templates/event_management/event-form.html
View file @
b804aa8b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
{% load static %}
{% load static %}
{% block title %}Widget's Forum{% endblock %}
{% block title %}Widget's Forum{% endblock %}
{% block content %}
{% block content %}
{
form.non_field_errors
}
{
{ form.non_field_errors }
}
{% for field in form %}
{% for field in form %}
{% if field.errors %}
{% if field.errors %}
<p>
{{ field.label }} has the following errors:
</p>
<p>
{{ field.label }} has the following errors:
</p>
...
@@ -19,8 +19,9 @@
...
@@ -19,8 +19,9 @@
</ul>
</ul>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
<form
action=
"/add
"
method=
"post"
>
<form
enctype=
"multipart/form-data
"
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form }}
{{ form }}
<input
type=
"submit"
value=
"Save"
/>
</form>
</form>
{% endblock %}
{% endblock %}
\ No newline at end of file
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