Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
final_quintupoltrobol
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
Matthew Karl David P. Arpas
final_quintupoltrobol
Commits
b88d3ac6
Commit
b88d3ac6
authored
May 15, 2023
by
karin-kurusu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos in all template files
parent
c163d660
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
10 deletions
+8
-10
models.cpython-310.pyc
..._quintupoltrobol/forum/__pycache__/models.cpython-310.pyc
+0
-0
urls.cpython-310.pyc
...et_quintupoltrobol/forum/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
...t_quintupoltrobol/forum/__pycache__/views.cpython-310.pyc
+0
-0
forum.html
widget_quintupoltrobol/forum/templates/forum/forum.html
+2
-2
forumpost-add.html
..._quintupoltrobol/forum/templates/forum/forumpost-add.html
+2
-2
forumpost-details.html
...ntupoltrobol/forum/templates/forum/forumpost-details.html
+2
-4
forumpost-edit.html
...quintupoltrobol/forum/templates/forum/forumpost-edit.html
+2
-2
No files found.
widget_quintupoltrobol/forum/__pycache__/models.cpython-310.pyc
View file @
b88d3ac6
No preview for this file type
widget_quintupoltrobol/forum/__pycache__/urls.cpython-310.pyc
View file @
b88d3ac6
No preview for this file type
widget_quintupoltrobol/forum/__pycache__/views.cpython-310.pyc
View file @
b88d3ac6
No preview for this file type
widget_quintupoltrobol/forum/templates/forum/forum.html
View file @
b88d3ac6
{% extends 'base.html' %}
{% load static %}
{% block title %}Widget's Forum
(% endblock %)
{% block title %}Widget's Forum
{% endblock %}
{% block content %}
<h2>
Welcome to Widget's Forum!
</h2>
<h3>
Forum posts:
</h3>
{% for forumpost in forumposts %}
<a
href=
"{{ forumpost.get_absolute_url }}"
>
{{ forumpost.author.last_name }}, {{ forumpost.author.first_name }}
</a><br>
<a
href=
"{{ forumpost.get_absolute_url }}"
>
{{ forumpost.
title }} by {{ forumpost.
author.last_name }}, {{ forumpost.author.first_name }}
</a><br>
{% endfor %}
...
...
widget_quintupoltrobol/forum/templates/forum/forumpost-add.html
View file @
b88d3ac6
{% extends 'base.html' %}
{% load static %}
{% block title %}Add Post
(% endblock %)
{% block title %}Add Post
{% endblock %}
{% block content %}
<h2>
Add a new post:
</h2>
<p>
<form
action=
""
method=
"post
"
>
<form
action=
''
method=
"POST
"
>
{% csrf_token %}
<table>
{{ form.as_table }}
...
...
widget_quintupoltrobol/forum/templates/forum/forumpost-details.html
View file @
b88d3ac6
{% extends 'base.html' %}
{% load static %}
{% block title %}{{ forumpost.title}}
(% endblock %)
{% block title %}{{ forumpost.title}}
{% endblock %}
{% block content %}
<h2>
{{ forumpost.title }}
</h2>
<h3>
by {{forumpost.author.first_name}} {{ forumpost.author.last_name }}
</h3>
...
...
@@ -21,8 +21,6 @@
<br>
{% endfor %}
<form
action=
"edit"
>
<input
type=
"submit"
value=
"Edit Post"
/>
</form>
<button>
<a
href=
"{% url 'forum:forumpost-edit' forumpost.pk %}"
>
Edit Post
</a></button>
{% endblock %}
\ No newline at end of file
widget_quintupoltrobol/forum/templates/forum/forumpost-edit.html
View file @
b88d3ac6
{% extends 'base.html' %}
{% load static %}
{% block title %}Edit Post
(% endblock %)
{% block title %}Edit Post
{% endblock %}
{% block content %}
<h2>
Edit post:
</h2>
<p>
<form
action=
""
method=
"post
"
>
<form
action=
''
method=
"POST
"
>
{% csrf_token %}
<table>
{{ form.as_table }}
...
...
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