forked from fredwu/angel_nest
/
_read_only.html.slim
69 lines (68 loc) · 2.73 KB
/
_read_only.html.slim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
ul#proposal_section_selector.multistage_selector
li= link_to t('label.product'), '#product'
li= link_to t('label.market'), '#market'
li= link_to t('label.competition'), '#competition'
li= link_to t('label.investment'), '#investment', :class => 'last'
.clear
= simple_form_for resource, :url => '/', :html => { :class => 'multistage read_only' } do |f|
fieldset#product
legend= t('label.product')
= f.input :new_business_model if resource.new_business_model
= f.input :new_product if resource.new_product
= f.label :pitch
.attribute= resource.pitch
= f.label :introduction
.attribute= resource.introduction
.grouped_buttons
= submit_tag t('label.next'), :class => 'navigation next'
fieldset#market
legend= t('label.market')
h2= t('label.one_year_market')
= f.label :one_year_target_audience
.attribute= resource.one_year_target_audience
= f.input :one_year_per_capita_annual_spending
= f.input :one_year_number_of_users
= f.input :one_year_market_cap
= f.input :one_year_penetration_rate
= f.label :one_year_marketing_strategy
.attribute= resource.one_year_marketing_strategy
= f.input :one_year_gross_profit_margin
br
h2= t('label.five_year_market')
= f.label :five_year_target_audience
.attribute= resource.five_year_target_audience
= f.input :five_year_per_capita_annual_spending
= f.input :five_year_number_of_users
= f.input :five_year_market_cap
= f.input :five_year_penetration_rate
= f.label :five_year_marketing_strategy
.attribute= resource.five_year_marketing_strategy
= f.input :five_year_gross_profit_margin
.grouped_buttons
= submit_tag t('label.prev'), :class => 'navigation prev'
= submit_tag t('label.next'), :class => 'navigation next'
fieldset#competition
legend= t('label.competition')
= f.label :competitors_details
.attribute= resource.competitors_details
= f.label :competitive_edges
.attribute= resource.competitive_edges
= f.label :competing_strategy
.attribute= resource.competing_strategy
.grouped_buttons
= submit_tag t('label.prev'), :class => 'navigation prev'
= submit_tag t('label.next'), :class => 'navigation next'
fieldset#investment
legend= t('label.investment')
= f.input :investment_amount
= f.label :investment_currency
.attribute= resource.investment_currency
= f.input :equity_percentage
= f.label :spending_plan
.attribute= resource.spending_plan
= f.input :next_investment_round
.grouped_buttons
= submit_tag t('label.prev'), :class => 'navigation prev'
- unless resource.proposal_stage_identifier == 'submitted'
= submit_tag t('label.save_draft')
= submit_tag t('label.submit_proposal')