hudmol/archivesspace — pull request #169 by marktriggs (2012-12-07 05:20:19+00:00)
Title: Refactored the form templates to allow a form to specify a source of req...

Hi @payten,

I sprung this refactoring on myself so I wouldn't have time to protest, and by the time I'd wised up I was already half done.

I've implemented it the way we talked about on Wednesday: calls to define_template can now optionally specify an object that gets queried to find out which fields are required, default values of things, etc.. Ended up being a pretty big refactoring, so let me know if you want to go through it all in person...