class Meta: """Class options.""" model = cons_models.ConservationAction fields = ( "taxa", "communities", "document", "occurrence_area_code", "target_area", "category", "instructions", "implementation_notes", "completion_date", # "expenditure", # "attachments" ) widgets = { 'taxa': tax_widgets.TaxonMultipleWidget(), 'communities': tax_widgets.CommunityMultipleWidget(), 'document': cons_widgets.DocumentWidget(), 'target_area': LeafletWidget(attrs=LEAFLET_SETTINGS), 'category': cons_widgets.ConservationActionCategoryWidget(), 'completion_date': shared_forms.DateInput(), }
class Meta: """Class options.""" model = occ_models.FireHistory fields = ("encounter", "last_fire_date", "fire_intensity") widgets = { "encounter": occ_widgets.AreaEncounterWidget(), "last_fire_date": shared_forms.DateInput(), }
class Meta: """Class options.""" model = cons_models.CommunityConservationListing fields = ( "community", # "scope", "category", "criteria", "proposed_on", "last_reviewed_on", "review_due", "comments") widgets = { 'community': tax_widgets.CommunityWidget(), 'proposed_on': shared_forms.DateInput(), 'last_reviewed_on': shared_forms.DateInput(), 'review_due': shared_forms.DateInput(), }
class Meta: """Class options.""" model = cons_models.ConservationActivity fields = ( "conservation_action", "implementation_notes", "completion_date", "expenditure", # "attachments" ) widgets = { 'conservation_action': cons_widgets.ConservationActionWidget(), 'completion_date': shared_forms.DateInput(), }