mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
Remove extra recipe_title input
This commit is contained in:
parent
3ea6d4fe66
commit
c2b8e79288
@ -61,9 +61,6 @@ pub fn AddRecipe<'ctx, G: Html>(cx: Scope<'ctx>, sh: StateHandler<'ctx>) -> View
|
||||
input(bind:value=recipe_title, type="text", name="recipe_title", id="recipe_title", on:change=move |_| {
|
||||
dirty.set(true);
|
||||
})
|
||||
input(bind:value=category, type="text", name="recipe_title", id="recipe_title", on:change=move |_| {
|
||||
dirty.set(true);
|
||||
})
|
||||
button(on:click=move |_| {
|
||||
create_recipe_signal.trigger_subscribers();
|
||||
if !*dirty.get_untracked() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user