info field. ability to go wwithout defaults

This commit is contained in:
2022-05-27 17:14:31 +03:00
parent 8391ad9850
commit 93705f758f
7 changed files with 194 additions and 95 deletions

View File

@@ -1,13 +1,12 @@
{% extends "layout.html" %}
{% block body %}
<div class="entries">
<div class="center inputcontainer">
<form action="{{ url_for('main') }}" method=post class=add-entry>
<label>Choose user:</label>
<select name="user_name">
{% for user in users %}
<option value="{{user}}" {% if user == current_user %}SELECTED{% endif %}>{{user}}</option>
{% for user in g.users %}
<option value="{{user}}" {% if user == current_user %}SELECTED{% endif %} >{{user}}</option>
{% endfor %}
</select>
<br>