app/views/staff/proposal_reviews/_reviewer_contents.html.haml
.proposal-section
%h3.control-label Abstract
.markdown{ data: { 'field-id' => 'proposal_abstract' } }
= proposal.abstract_markdown
%h2.fieldset-legend For Review Committee
.proposal-section
%h3.control-label Details
.markdown{ data: { 'field-id' => 'proposal_details' } }
= markdown(proposal.details)
.proposal-section
%h3.control-label Pitch
.markdown{ data: { 'field-id' => 'proposal_pitch' } }
= markdown(proposal.pitch)
- if proposal.custom_fields.any?
- proposal.proposal_data[:custom_fields].select do |key,value|
.proposal-section
%h3.control-label= key.capitalize
%div
= value.capitalize
%div