crowdcover / congo-mines-app

Rails app for the CongoMines project
1 stars 0 forks source link

Admins should be able to add a new source when editing documents #71

Open jameslaneconkling opened 9 years ago

jameslaneconkling commented 9 years ago

Currently, it's only possible to select source from a dropdown of existing sources. It should also be possible to input a new source.

markmcdonald51 commented 9 years ago

done.

jameslaneconkling commented 9 years ago

Hey James, I can add this in but is there any real data in this table in the source field? Going to wait till you get back to me to do this operation.

@markmcdonald51 Yeah, there's all of these sources that were created in the scrape. This is good, as it means that the same source won't have variants in spelling. But if they want to create a report from a source that hasn't yet been defined in the source table, there's no way to do this, since the source form isn't exposed to them yet.

jameslaneconkling commented 9 years ago

@markmcdonald51 wait, unless I'm mistaken, it looks like you added this to deposits, not documents. In short:

screenshot 2015-06-03 18 35 44