├── .gitignore ├── CHANGES ├── MOTIVATION ├── README.md ├── TODO ├── project.clj ├── src └── flutter │ ├── core.clj │ ├── html4.clj │ ├── html4 │ ├── input_fields.clj │ ├── select.clj │ └── text_area.clj │ ├── html5.clj │ ├── labels.clj │ ├── params.clj │ ├── parse_shortcuts.clj │ ├── selected.clj │ ├── shortcuts.clj │ └── value.clj └── test └── flutter ├── html4 ├── test_input_fields.clj └── test_select.clj ├── test_html4.clj ├── test_labels.clj ├── test_selected.clj ├── test_shortcuts.clj └── test_value.clj /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *# 3 | lib 4 | -------------------------------------------------------------------------------- /CHANGES: -------------------------------------------------------------------------------- 1 | CHANGES for flutter. 2 | 3 | Unreleased: 4 | * update to clojure 1.3.0 5 | 6 | v0.0.6: 7 | * option/label fixes 8 | 9 | v0.0.5: 10 | * More inline docs and marginalia improvements 11 | * Moved most of the README inline 12 | 13 | v0.0.4: 14 | * removed dev dependency on swank-clojure 15 | 16 | v0.0.3: 17 | * added :value and :h / :html types 18 | 19 | v0.0.2: 20 | 21 | * added :text-area type 22 | * split out html4 field types into flutter.html4.* sub-packages 23 | * added wrap-html4-fields & html4-fields convenience functions 24 | * added html5 input types 25 | * added hiccup style shortcuts for class and id 26 | * added more shortcuts to wrap-params 27 | * fixed bug that prevented unrecognized types from throwing exceptions 28 | * added some more documentation and a few simple examples 29 | 30 | v0.0.1: 31 | 32 | * initial release 33 | -------------------------------------------------------------------------------- /MOTIVATION: -------------------------------------------------------------------------------- 1 | Flutter: Hiccup based HTML form fields for clojure. 2 | 3 | I want forms, and I suspect you do too. 4 | 5 | Things I want: 6 | 7 | * All the standard HTML 4 elements with full customizing; I want to be 8 | able to specify classes, IDs, obscure and non-standard attributes, 9 | preferably with hiccup/css style #id and .class short cuts. 10 | 11 | * Pick, choose and modify: I might not like a particular element's 12 | generator function, so I need to be able to replace or extend it. 13 | 14 | * Wrappers / HTML decoration: I want to be able to wrap