Form:Add funding history: Difference between revisions

No edit summary
No edit summary
Line 8: Line 8:
<h3>Funding History</h3>
<h3>Funding History</h3>


{{{for template|Startup/Investor table}}}
<table class="wikitable" style="width: 100%;">
<table class="wikitable" style="width: 100%;">
<thead>
<thead>
<tr>
<tr>
<th style="width: 60%;">Investor</th>
<th style="width: 50%;">Investor</th>
<th style="width: 30%;">Round</th>
<th style="width: 30%;">Round</th>
<th style="width: 10%;">Actions</th>
<th style="width: 20%;">Actions</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
{{{field|investors|holds template}}}
</tbody>
</table>
{{{end template}}}
{{{for template|Startup/InvestorEntry|multiple|embed in field=Startup/Investor table[investors]}}}
{{{for template|Startup/InvestorEntry|multiple|embed in field=Startup/Investor table[investors]}}}
<tr>
<tr>
<td>{{{field|investor|input type=text|values from category=Investors|autocompletion source=Investors|mandatory|size=45|placeholder=e.g. Sequoia Capital}}}</td>
<td>{{{field|investor|input type=text|values from category=Investors|mandatory|size=40|placeholder=e.g. Sequoia Capital}}}</td>
<td>{{{field|round|input type=combobox|values from property=HasFunding_Round|mandatory|size=25}}}</td>
<td>{{{field|round|input type=combobox|values from property=HasFunding_Round|mandatory|size=20}}}</td>
<td></td>  
<td></td>  
</tr>
</tr>
{{{end template}}}
{{{end template}}}
</tbody>
</table>
<div style="display:none;">
{{{for template|Startup/Investor table}}}
{{{field|investors|holds template}}}
{{{end template}}}
</div>


{{{standard input|save}}}
{{{standard input|save}}}
{{{standard input|cancel}}}
{{{standard input|cancel}}}