First Commit
This commit is contained in:
26
templates/edit_project.html
Normal file
26
templates/edit_project.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Edit Project{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="POST" enctype="multipart/form-data">
|
||||
<label>Title:</label>
|
||||
<input type="text" name="title" value="{{ projectpost.title }}" required>
|
||||
|
||||
<label>Content:</label>
|
||||
<textarea name="content">{{ projectpost.content|replace('<br>', '\n') }}</textarea>
|
||||
|
||||
<label>Category:</label>
|
||||
<input type="text" name="category" value="{{ projectpost.category }}">
|
||||
|
||||
<label>Tags:</label>
|
||||
<input type="text" name="tags" value="{{ projectpost.tags }}">
|
||||
|
||||
|
||||
<label>Upload New Images:</label>
|
||||
<input type="file" name="images" multiple>
|
||||
|
||||
<button type="submit">Save Changes</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user