godreams / admin-server

Web administration interface for Guardians of Dreams. http://godreams.org
3 stars 1 forks source link

Add cities to fellows. #16

Open harigopal opened 7 years ago

harigopal commented 7 years ago

Resources under a fellow are associated to his city.

NationalFinanceHead should be able to add cities and pick the city when creating a Fellow.

ajaleelp commented 7 years ago

The first part of this has been completed. A City model was introduced and the required associations wired. Will keep the issue open until the second part is tackled.

harigopal commented 7 years ago

@ajaleelp I've been wondering whether it might make sense to store the value of city for a user in the User model instead of in the Fellow model - mainly for ease of editing (#38). I suppose it would be possible to expose the user.fellow.city in the user's edit form conditionally. Not at all sure what all the differences would be in storing city in Fellow vs User. 🤔