29 lines
1.3 KiB
Django/Jinja
29 lines
1.3 KiB
Django/Jinja
{% extends 'base.html.j2' %}
|
|
{% block title %}Create New List | Sigl{% endblock %}
|
|
{% block header %}
|
|
<div class="flex justify-between items-center py-1">
|
|
<div class="text-sm font-bold text-gray-800">Create New List</div>
|
|
<div class="flex justify-start items-start">
|
|
<a href="{{ url_for('lists.home') }}" class="px-2 py-1 text-xs text-white bg-gray-600 hover:bg-gray-700 border rounded flex justify-between items-center">
|
|
Cancel
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% block main %}
|
|
<form method="post">
|
|
<div class="py-2 px-4 flex flex-col">
|
|
<div class="flex flex-col pb-4">
|
|
<label for="name" class="py-1 text-xs text-gray-700 font-semibold">Shopping List Name:</label>
|
|
<input type="text" name="name" id="name" class="p-1 text-sm border border-gray-200 rounded" />
|
|
</div>
|
|
<div class="flex flex-col pb-4">
|
|
<label for="notes" class="py-1 text-xs text-gray-700 font-semibold">Notes:</label>
|
|
<textarea name="notes" id="notes" class="p-1 text-sm border border-gray-200 rounded"></textarea>
|
|
</div>
|
|
<div class="flex justify-end">
|
|
<button type="submit" class="px-2 py-1 border rounded text-sm text-white bg-blue-600 hover:bg-blue-700">Create</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% endblock %} |