Profile edit (WIP)

This commit is contained in:
Greg Burri 2024-11-15 14:47:10 +01:00
parent 405aa68526
commit 327b2d0a5b
15 changed files with 174 additions and 46 deletions

View file

@ -1,6 +1,10 @@
use wasm_bindgen::prelude::*;
use web_sys::Document;
use web_sys::{Document, HtmlLabelElement};
pub fn edit_recipe(doc: &Document) {
pub fn recipe_edit(doc: &Document) {
let title_input = doc.get_element_by_id("title_field").unwrap();
}
pub fn user_edit(doc: &Document) {
// let name_input = doc.get_element_by_id("name_field").unwrap().dyn_ref::<>()
}