ushahidi/Lamu — pull request #107 by rjmackay (2013-10-07 06:55:08+00:00)
Title: Create post

**Do not merge yet...**

Starting to wire up the beginnings of the create post process.
Added an event handler when the create post form is submitted. I'm using backbone.syphon to pull data out of the form and serialize it in a form we can use for models. I'm not doing any handling of exceptions yet
so all saves will fail.

We need to start handling custom forms in this feature.. I think that

* [ ] Handle server validation errors
* [ ] Add frontend validation
* [ ] Add location name to point / geometry types
* [ ] Display custom form fields
* [ ] Custom category selector
* [ ] hasLocation, hasMedia, etc functions on FormModel to allow checking which panes we show
* [ ] Add switching js for media/location/etc panes
* [ ]

For this iteration I'm going to reduce to: main form, location and photo panes.
We won't really be handling video and audio uploads anyway - too complicated - but need to think about how we handling embeds in future.

Maybe we can mirror Crowdmap by just puling embed URLs out of the text.. we might still need to handle custom fields for video, audio, link inputs.. but can push that out a little later.