32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
|
<form hx-post="/event" hx-target="#timeline" id="hranenje">
|
||
|
<h1>Hranenje</h1>
|
||
|
<input type="hidden" name="event_type" value="hranenje" />
|
||
|
<div class="form-group">
|
||
|
<label for="hranenje_start">Koga e pocnato?</label>
|
||
|
<span></span>
|
||
|
<input type="time"
|
||
|
id="hranenje_start"
|
||
|
name="hranenje_start"
|
||
|
required />
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label for="hranenje_end">Koga e zavrseno?</label>
|
||
|
<span></span>
|
||
|
<input type="time"
|
||
|
id="hranenje_end"
|
||
|
name="hranenje_end"
|
||
|
required />
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label for="hranenje_data">Kolku ml ima ispieno?</label>
|
||
|
<span></span>
|
||
|
<input type="number" id="hranenje_data_value" name="hranenje_data_value" required />
|
||
|
<input type="hidden" id="hranenje_data_unit" name="hranenje_data_unit" value="ml" />
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<span></span>
|
||
|
<span></span>
|
||
|
<input class="submit" type="submit" value="Vnesi" />
|
||
|
</div>
|
||
|
</form>
|