Created
September 23, 2016 09:30
-
-
Save hoasung01/fcdf87ddcb2d4f30bf9e5dc92f89bf82 to your computer and use it in GitHub Desktop.
tab-avenue28-stuck-js-when-class-changed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tab-content{:style => "margin-bottom: 80px"} | |
#summary.tab-pane.fade.in.active | |
.content-box | |
%h4.block-header | |
= t("labels.project.opportunity_summary") | |
.show-more-content | |
.short-content | |
= raw(@project.investment_sumary) | |
.show-more-gradient | |
.text-right.show-more-link Show more | |
.content-box | |
%h4.block-header | |
= t('labels.project.key_deal_highlights') | |
/ Table | |
%table.table | |
%tbody | |
- @project.project_highlights.each do |project_highlight| | |
%tr | |
%td.col-icon.text-center{width: "40px"} | |
/*%i.fa.fa-check-circle.fa-2x.text-checked*/ | |
%span.checkmark | |
.checkmark_stem | |
.checkmark_kick | |
%td | |
%h4= project_highlight.title | |
%p= project_highlight.description | |
.content-box | |
%h4.block-header= t('labels.project.investment_structure') | |
/ Table | |
%table.table | |
%tbody | |
%tr | |
%th= t('activerecord.attributes.investment_structure.capital_type') | |
%th= t('activerecord.attributes.investment_structure.source') | |
%th.text-right= t('activerecord.attributes.investment_structure.percent_of_total') | |
%th.text-right= t('activerecord.attributes.investment_structure.amount') | |
- @project.investment_structures.each do |investment_structure| | |
%tr | |
%td= investment_structure.capital_type | |
%td= investment_structure.source | |
%td.text-right= number_to_percentage(investment_structure.percent_of_total, precision: 2) | |
%td.text-right | |
= investment_structure.display_amount | |
.content-box | |
%h4.block-header= t('labels.project.property_summary') | |
.show-more-content | |
.short-content | |
= raw(@project.property_summary) | |
.show-more-gradient | |
.text-right.show-more-link Show more | |
.content-box | |
%h4.block-header= t('labels.project.market_summary') | |
.show-more-content | |
.short-content | |
= raw(@project.market_summary) | |
.show-more-gradient | |
.text-right.show-more-link Show more | |
.content-box | |
%h4.block-header | |
= t('labels.project.documents') | |
.content#list_upload_document | |
- @project.project_documents.each do |document| | |
= render partial: 'request_document', locals: {document: document} | |
.content-box | |
%h4.block-header= t('labels.project.about_the_sponsor') | |
.show-more-content | |
.short-content | |
= raw(@project.about_sponsor) | |
.show-more-gradient | |
.text-right.show-more-link Show more | |
#updates.tab-pane.fade | |
= render partial: 'update_content' | |
#faq.tab-pane.fade | |
= render partial: 'faq_content' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment