Skip to content
Snippets Groups Projects
Commit 6f4be55a authored by Eck Balázs István's avatar Eck Balázs István
Browse files

change frontend pictures string

parent a27daa3b
Branches
No related tags found
No related merge requests found
{% extends 'layout.html' %}
{% block title %}
New Post
New Picture
{% endblock %}
{% block content %}
<section>
<h1>New Post</h1>
<h1>New Picture</h1>
<form class="form-with-validation" action="{% url 'posts:new-post' %}" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form }}
<button class="form-submit">Add Post</button>
<button class="form-submit">Add Picture</button>
</form>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'layout.html' %}
{% block title %}
Posts
Pictures
{% endblock %}
{% block content %}
<section>
<h1>Posts</h1>
<h1>Pictures</h1>
{% for post in posts %}
<article class="post">
......
......@@ -22,10 +22,10 @@
</a> |
{% if user.is_authenticated %}
<a href="{% url 'posts:list' %}">
<span role="img" aria-label="Posts" title="Posts">📰</span>
<span role="img" aria-label="Pictures" title="Pictures">📰</span>
</a> |
<a href="{% url 'posts:new-post' %}">
<span role="img" aria-label="New Post" title="New Post">🆕</span>
<span role="img" aria-label="New Picture" title="New Picture">🆕</span>
</a> |
<form class="logout" action="{% url 'users:logout' %}" method="post">
{% csrf_token %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment