Move javascript for forms into separate JS file
commitc622ecd02aeef2c02f9ab441b18114ea1d9f2837
authorMagnus Hagander <magnus@hagander.net>
Thu, 20 Dec 2018 14:31:25 +0000 (20 15:31 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 20 Dec 2018 16:18:11 +0000 (20 17:18 +0100)
tree2a755ae5714f3c1aafdfb242c31fc08b0a9e873e
parenta33bc4630ba3b686ec1b9171caf541d52e1e2d74
Move javascript for forms into separate JS file

In passing also clean up a few things that can be passed directly in the
template instead, and simplify things now that we have jquery all the
time.
media/js/forms.js [new file with mode: 0644]
pgweb/core/templatetags/pgfilters.py
pgweb/news/forms.py
pgweb/util/helpers.py
templates/base/form.html