25 lines
740 B
HTML
25 lines
740 B
HTML
{% 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 %}
|