Added local img storage to updating

This commit is contained in:
Henry Feng
2022-11-20 13:51:28 -08:00
parent 3e909ed381
commit f340f3ed82
2 changed files with 49 additions and 2 deletions

View File

@@ -26,9 +26,14 @@
<!----> <form id="update-food-entry" class="hidden">
<fieldset>
<legend>Pic:</legend>
<label for="mealImage">
Choose Input type:
<select id="select" name="select">
<option value="file">File Upload</option>
<option value="url">From an URL</option>
</select>
<label for="mealImage" id="source">
Source:
<input type="text" id="mealImg" name="mealImg">
<input type="file" accept="image/*" id="mealImg" name="mealImg">
</label>
<label for="image-alt">
Alt Text: