Skip to main content

fanstatic spiffform jQuery.

Project description

Introduction
============

This library packages `SpiffForm`_ for `fanstatic`_. It is aware of SpiffForm's
structure.

.. _`fanstatic`: http://fanstatic.org
.. _`SpiffForm`: https://github.com/knipknap/SpiffForm

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory) are published to some URL.

Git subtree of SpiffForm
------------------------

We use git `subtree`_ to get SpiffForm.

.. _`subtree`: https://help.github.com/articles/working-with-subtree-merge

How::

$ git remote add -f spiffform https://github.com/lugensa/SpiffForm.git
$ git merge -s ours --no-commit spiffform/master
$ git read-tree --prefix=js/spiffform/resources/ -u spiffform/master
$ git commit -m "Subtree merged in js/spiffform/resources/"

Pull changes::

$ git pull -s subtree #this only works if we use not nested prefix name
$ git pull --squash -s subtree https://github.com/lugensa/SpiffForm.git master

How to use?
===========

You can import spiffform from ``js.spiffform`` and ``need`` it where you want
these resources to be included on a page::

>>> from js.spiffform import spiffform
>>> spiffform.need()

.. _`fanstatic`: http://fanstatic.org
.. _`spiffform`: http://www.appelsiini.net/projects/spiffform

CHANGES
=======

1.2.0 (2013-08-22)
------------------

- Merged upstream i18n fix.

- Fixed rst,


1.1.0 (2013-08-20)
------------------

- Merged upstream date range.


1.0.0 (2013-05-27)
------------------

- Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

js.spiffform-1.2.0.zip (169.5 kB view details)

Uploaded Source

File details

Details for the file js.spiffform-1.2.0.zip.

File metadata

  • Download URL: js.spiffform-1.2.0.zip
  • Upload date:
  • Size: 169.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for js.spiffform-1.2.0.zip
Algorithm Hash digest
SHA256 69456d0de6dea4e5906dcfb85b9f92a704fca3f9a3aabc626ff2140b9698917e
MD5 3de2a4b471d9ae64bbd528c6102826fe
BLAKE2b-256 f7c838ddf2628d5c9a2ad9424c364b4e35dd1896a2f4b908ea4561c679230efc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page