Initial Commit
This commit is contained in:
24
templates/new_goal.html
Normal file
24
templates/new_goal.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}New Goal · Superior Finance{% endblock %}
|
||||
{% block content %}
|
||||
<h1>New Goal</h1>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<label>Title
|
||||
<input type="text" name="title" required>
|
||||
</label>
|
||||
<label>Description
|
||||
<textarea name="description" rows="3"></textarea>
|
||||
</label>
|
||||
<label>Target amount ($)
|
||||
<input type="number" name="goal_amount" min="1" required>
|
||||
</label>
|
||||
<label>Images
|
||||
<input type="file" name="images" multiple accept="image/*">
|
||||
</label>
|
||||
<label class="checkbox-row">
|
||||
<input type="checkbox" name="completed">
|
||||
Already achieved
|
||||
</label>
|
||||
<button type="submit">Create Goal</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user