First Commit
This commit is contained in:
commit
ce0758fbbb
496 changed files with 52062 additions and 0 deletions
30
templates/users/form_contribute.html
Executable file
30
templates/users/form_contribute.html
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
{% if type == 'games' %}
|
||||
<h2>Créer un article Jeux vidéos</h2>
|
||||
{% elif type == 'movies' %}
|
||||
<h2>Créer un article Film & Series</h2>
|
||||
{% elif type == 'musics' %}
|
||||
<h2>Créer un article Musique</h2>
|
||||
{% elif type == 'tech' %}
|
||||
<h2>Créer un article Technologie</h2>
|
||||
{% elif type == 'news_contrib' %}
|
||||
<h2>Créer une actualité</h2>
|
||||
{% elif type == 'category' %}
|
||||
<h2>Créer une nouvelle catégorie</h2>
|
||||
{% endif %}
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<div class="form-inline">
|
||||
<select id="post_type">
|
||||
<option value="solo">Article seul</option>
|
||||
<option value="multiple">Ensemble d'article</option>
|
||||
</select>
|
||||
{{ form.title }}
|
||||
</div>
|
||||
{{ form.content }}
|
||||
<div class="form-inline" id="submit"><button id="submit-button">Créer</button></div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue