avoinministerio/avoinministerio — pull request #101 by naleksi (2012-03-16 10:34:44+00:00)
Title: Idea page adds

Oh yes, there are the same commits approximately three times. No idea why this is such a hassle. Well, at the end it finally got rebased and hopefully also works.

This introduces new model Expert Suggestion, to, well, suggest experts! :) It is partially styled. However there's at least one major UI feature missing. When returning back to idea, there's no flash message to user that "your suggestion just got saved, thanks!" Apparently we're not using them at all.

Things for the future:
1) the expert suggestions should be editable for the user.
2) the whole experience of adding a suggestion could be hooked to ajax and jquery magic, for in-place editing of the form, instead of jumping back and forth to other pages

Last thing: the non-used views and controller methods should be cleansed away. For example, there is no need for ExpertSuggestion#index at the moment. Actually the opposite, unless decided the list of (other people's) suggestions should not be exposed to user.