this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix demo site to work with separate formz_string module

+10 -8
+1
formz_demo/gleam.toml
··· 16 16 formz = { path = "../formz" } 17 17 formz_lustre = { path = "../formz_lustre" } 18 18 formz_nakai = { path = "../formz_nakai" } 19 + formz_string = { path = "../formz_string" } 19 20 gleam_http = ">= 3.7.0 and < 4.0.0" 20 21 gleam_erlang = ">= 0.27.0 and < 1.0.0" 21 22 gleam_stdlib = ">= 0.34.0 and < 2.0.0"
+2
formz_demo/manifest.toml
··· 10 10 { name = "formz", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "justin"], source = "local", path = "../formz" }, 11 11 { name = "formz_lustre", version = "1.0.0", build_tools = ["gleam"], requirements = ["formz", "gleam_stdlib", "lustre"], source = "local", path = "../formz_lustre" }, 12 12 { name = "formz_nakai", version = "1.0.0", build_tools = ["gleam"], requirements = ["formz", "gleam_stdlib", "nakai"], source = "local", path = "../formz_nakai" }, 13 + { name = "formz_string", version = "1.0.0", build_tools = ["gleam"], requirements = ["formz", "gleam_stdlib"], source = "local", path = "../formz_string" }, 13 14 { name = "glam", version = "2.0.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glam", source = "hex", outer_checksum = "66EC3BCD632E51EED029678F8DF419659C1E57B1A93D874C5131FE220DFAD2B2" }, 14 15 { name = "gleam_crypto", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_crypto", source = "hex", outer_checksum = "8AE56026B3E05EBB1F076778478A762E9EB62B31AEEB4285755452F397029D22" }, 15 16 { name = "gleam_erlang", version = "0.27.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DE468F676D71B313C6C8C5334425CFCF827837333F8AB47B64D8A6D7AA40185D" }, ··· 40 41 formz = { path = "../formz" } 41 42 formz_lustre = { path = "../formz_lustre" } 42 43 formz_nakai = { path = "../formz_nakai" } 44 + formz_string = { path = "../formz_string" } 43 45 gleam_erlang = { version = ">= 0.27.0 and < 1.0.0" } 44 46 gleam_http = { version = ">= 3.7.0 and < 4.0.0" } 45 47 gleam_stdlib = { version = ">= 0.34.0 and < 2.0.0" }
+1 -1
formz_demo/src/formz_demo/example/defaults.gleam
··· 1 1 import formz/formz_use as formz 2 - import formz/string_generator/simple 3 2 import formz_lustre/simple as lustre_simple 4 3 import formz_nakai/simple as nakai_simple 4 + import formz_string/simple 5 5 import lustre/element 6 6 import nakai 7 7 import nakai/html
+1 -1
formz_demo/src/formz_demo/examples/all_the_inputs.gleam
··· 1 1 import formz/field.{field} 2 2 import formz/formz_use as formz 3 - import formz/string_generator/fields 3 + import formz_string/fields 4 4 5 5 pub fn make_form() { 6 6 let choices = [#("Yes", True), #("Maybe", True), #("No", False)]
+1 -1
formz_demo/src/formz_demo/examples/hello_world.gleam
··· 1 1 import formz/field.{field} 2 2 import formz/formz_use as formz 3 - import formz/string_generator/fields 3 + import formz_string/fields 4 4 5 5 pub fn make_form() { 6 6 use name <- formz.with(field("name", fields.text_field()))
+1 -2
formz_demo/src/formz_demo/examples/labels.gleam
··· 1 1 import formz/field.{field} 2 2 import formz/formz_use as formz 3 - import formz/input.{input} 4 - import formz/string_generator/fields 3 + import formz_string/fields 5 4 6 5 pub fn make_form() { 7 6 use name <- formz.with(
+2 -2
formz_demo/src/formz_demo/examples/login.gleam
··· 1 1 import formz/field.{field} 2 2 import formz/formz_use as formz 3 3 import formz/input 4 - import formz/string_generator/fields 5 - import formz/string_generator/widgets 4 + import formz_string/fields 5 + import formz_string/widgets 6 6 import wisp 7 7 8 8 pub type Credentials {
+1 -1
formz_demo/src/formz_demo/examples/sub_form.gleam
··· 1 1 import formz/field 2 2 import formz/formz_use as formz 3 - import formz/string_generator/fields 3 + import formz_string/fields 4 4 5 5 pub fn make_form() { 6 6 use billing_address <- formz.sub_form(