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"),
|
Tab(_("Basic information"),
|
||||||
'entry_name',
|
'entry_name',
|
||||||
'location',
|
'location',
|
||||||
'sector_of_economy',
|
|
||||||
'positive_or_negative',
|
|
||||||
'country',
|
'country',
|
||||||
'area_of_land',
|
'area_of_land',
|
||||||
'land_ownership',
|
'land_ownership',
|
||||||
@ -91,28 +89,35 @@ class LongCaseStudyForm(BaseCaseStudyForm):
|
|||||||
'project_status',
|
'project_status',
|
||||||
'synopsis',
|
'synopsis',
|
||||||
'full_description',
|
'full_description',
|
||||||
'project_owners',
|
|
||||||
'shareholders',
|
|
||||||
'financial_institutions',
|
|
||||||
'financial_institutions_other',
|
|
||||||
'energy_customers',
|
|
||||||
'image',
|
'image',
|
||||||
'image_caption',
|
'image_caption',
|
||||||
'image_credit',
|
'image_credit',
|
||||||
'video',
|
'video',
|
||||||
'video_caption',
|
'video_caption',
|
||||||
'video_credit',
|
'video_credit',
|
||||||
|
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_mainstream',
|
||||||
'media_coverage_independent',
|
'media_coverage_independent',
|
||||||
'community_voices',
|
'community_voices',
|
||||||
'direct_comms',
|
'direct_comms',
|
||||||
'social_media_links',
|
'social_media_links'
|
||||||
|
),
|
||||||
FormActions(
|
FormActions(
|
||||||
HTML("<a class='btn btn-primary btnNext pull-right'>"+_("Next")+"</a>")
|
HTML("<a class='btn btn-primary btnNext pull-right'>"+_("Next")+"</a>")
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
Tab(
|
Tab(
|
||||||
_("Technical and economic analysis"),
|
_("Technical and economic analysis"),
|
||||||
|
'sector_of_economy',
|
||||||
Fieldset(
|
Fieldset(
|
||||||
_("Power Generation Questions"),
|
_("Power Generation Questions"),
|
||||||
'generation_technology',
|
'generation_technology',
|
||||||
@ -156,6 +161,7 @@ class LongCaseStudyForm(BaseCaseStudyForm):
|
|||||||
),
|
),
|
||||||
Tab(
|
Tab(
|
||||||
_("Socio-environmental analysis"),
|
_("Socio-environmental analysis"),
|
||||||
|
'positive_or_negative',
|
||||||
Fieldset(
|
Fieldset(
|
||||||
_("Positive Case Questions"),
|
_("Positive Case Questions"),
|
||||||
'positive_case_type',
|
'positive_case_type',
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
{ // 2.1 - Power Generation
|
{ // 2.1 - Power Generation
|
||||||
"field": "#id_sector_of_economy",
|
"field": "#id_sector_of_economy",
|
||||||
"showHide": ["#power_generation_questions"],
|
"showHide": ["#power_generation_questions"],
|
||||||
"condition": ["RNW"]
|
"condition": ["RN"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"field": "#id_generation_technology",
|
"field": "#id_generation_technology",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user