Got submit button working
This commit is contained in:
@@ -5,19 +5,17 @@
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
{% for x in ClientName %}
|
||||
{{ ClientName[loop.index0] }} <br>
|
||||
{% endfor %}
|
||||
|
||||
<br><br>
|
||||
<select name = "SelectedClient">
|
||||
{% for x in ClientName %}
|
||||
<option value = "{{ SelectedClient }}" > {{ ClientName[loop.index0] }} </option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<br>
|
||||
<input type="submit">
|
||||
<br><br>
|
||||
{{ SelectedClient }}
|
||||
<form method="post" action = "{{ url_for('runReport') }}" >
|
||||
<select name = 'SelectedClient'>
|
||||
{% for x in ClientName %}
|
||||
<option value = {{ ClientName[loop.index0] }} > {{ ClientName[loop.index0] }} </option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<br>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user