13 lines
388 B
HTML
13 lines
388 B
HTML
<html>
|
|
<h1>Relay Creation</h1>
|
|
<form method="POST" action="/relay/create">
|
|
<input type="text" name="name" placeholder="Pool Pump 1"></input>
|
|
<select name="pin_id">:
|
|
{% for pin in pins %}
|
|
<option value="{{ pin.chip.number }}-{{ pin.chip.name }}-{{ pin.line_number }}">{{ pin.name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<button type="submit">Create</button>
|
|
</form>
|
|
</html>
|