Fiddle with form layout a bit to add coherence
This commit is contained in:
parent
b2266600de
commit
fafb475869
@ -77,8 +77,6 @@ class LongCaseStudyForm(BaseCaseStudyForm):
|
||||
Tab(_("Basic information"),
|
||||
'entry_name',
|
||||
'location',
|
||||
'sector_of_economy',
|
||||
'positive_or_negative',
|
||||
'country',
|
||||
'area_of_land',
|
||||
'land_ownership',
|
||||
@ -91,28 +89,35 @@ class LongCaseStudyForm(BaseCaseStudyForm):
|
||||
'project_status',
|
||||
'synopsis',
|
||||
'full_description',
|
||||
'project_owners',
|
||||
'shareholders',
|
||||
'financial_institutions',
|
||||
'financial_institutions_other',
|
||||
'energy_customers',
|
||||
'image',
|
||||
'image_caption',
|
||||
'image_credit',
|
||||
'video',
|
||||
'video_caption',
|
||||
'video_credit',
|
||||
'media_coverage_mainstream',
|
||||
'media_coverage_independent',
|
||||
'community_voices',
|
||||
'direct_comms',
|
||||
'social_media_links',
|
||||
Fieldset(
|
||||
_("Ownership and finance"),
|
||||
'project_owners',
|
||||
'shareholders',
|
||||
'financial_institutions',
|
||||
'financial_institutions_other',
|
||||
'energy_customers'
|
||||
),
|
||||
Fieldset(
|
||||
_("Media reports and other communications"),
|
||||
'media_coverage_mainstream',
|
||||
'media_coverage_independent',
|
||||
'community_voices',
|
||||
'direct_comms',
|
||||
'social_media_links'
|
||||
),
|
||||
FormActions(
|
||||
HTML("<a class='btn btn-primary btnNext pull-right'>"+_("Next")+"</a>")
|
||||
)
|
||||
),
|
||||
Tab(
|
||||
_("Technical and economic analysis"),
|
||||
'sector_of_economy',
|
||||
Fieldset(
|
||||
_("Power Generation Questions"),
|
||||
'generation_technology',
|
||||
@ -156,6 +161,7 @@ class LongCaseStudyForm(BaseCaseStudyForm):
|
||||
),
|
||||
Tab(
|
||||
_("Socio-environmental analysis"),
|
||||
'positive_or_negative',
|
||||
Fieldset(
|
||||
_("Positive Case Questions"),
|
||||
'positive_case_type',
|
||||
|
@ -64,7 +64,7 @@
|
||||
{ // 2.1 - Power Generation
|
||||
"field": "#id_sector_of_economy",
|
||||
"showHide": ["#power_generation_questions"],
|
||||
"condition": ["RNW"]
|
||||
"condition": ["RN"]
|
||||
},
|
||||
{
|
||||
"field": "#id_generation_technology",
|
||||
|
Loading…
Reference in New Issue
Block a user