ebola-geonode / ebola_geonode

Ebola GeoNode Project
0 stars 2 forks source link

Make the minimum metadata fields show up at the top of the metadata entry form #10

Open vdeparday opened 9 years ago

vdeparday commented 9 years ago

The minimum fields should be:

state-hiu commented 9 years ago

Does this require upstream work on https://github.com/GeoNode/geonode or a fork? How would you do this in a "Downstream GeoNode Project"?

jj0hns0n commented 9 years ago

We might be able to monkey patch the geonode.layers.forms.LayerForm.fields attribute in the settings.py or urls.py of the downstream project. Basically you just need to specify a fields list like the exclude list and they will show in that order.

https://github.com/GeoNode/geonode/blob/master/geonode/layers/forms.py#L50

@state-hiu lemme know when you have time to try this out.