Skip to content

Commit

Permalink
Merge pull request #41 from artikel10/add-jinja
Browse files Browse the repository at this point in the history
Generate application form from Jinja template
  • Loading branch information
RonjaPonja authored Apr 23, 2019
2 parents dac4dfc + da07267 commit b406452
Show file tree
Hide file tree
Showing 11 changed files with 1,365 additions and 357 deletions.
14 changes: 14 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pycodestyle = "*"

[packages]
jinja2 = "*"
click = "*"

[requires]
python_version = "3.6"
79 changes: 79 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
- all-in-one file so it's easy to download and use offline.
- mobile friendly form with field validation.
- somewhat sane fallbacks for users with disabled javascript.

## Generating the application form

With the dependencies in `Pipfile` or `requirements.txt` installed,
run `./form.py foerder.j2` to generate the `foerder.html`.
Loading

0 comments on commit b406452

Please sign in to comment.