[Rails] Fertilizer recipe solver for the FAPG.
1
<div id="<%= dom_id crop %>">
2
<p>
3
<strong>Name:</strong>
4
<%= crop.name %>
5
</p>
6
7
<p>
8
<strong>Crop type:</strong>
9
<%= crop.crop_type %>
10
</p>
11
12
<p>
13
<strong>Nno3:</strong>
14
<%= crop.nno3 %>
15
</p>
16
17
<p>
18
<strong>P:</strong>
19
<%= crop.p %>
20
</p>
21
22
<p>
23
<strong>K:</strong>
24
<%= crop.k %>
25
</p>
26
27
<p>
28
<strong>Ca:</strong>
29
<%= crop.ca %>
30
</p>
31
32
<p>
33
<strong>Mg:</strong>
34
<%= crop.mg %>
35
</p>
36
37
<p>
38
<strong>S:</strong>
39
<%= crop.s %>
40
</p>
41
42
<p>
43
<strong>Na:</strong>
44
<%= crop.na %>
45
</p>
46
47
<p>
48
<strong>Cl:</strong>
49
<%= crop.cl %>
50
</p>
51
52
<p>
53
<strong>Si:</strong>
54
<%= crop.si %>
55
</p>
56
57
<p>
58
<strong>Fe:</strong>
59
<%= crop.fe %>
60
</p>
61
62
<p>
63
<strong>Zn:</strong>
64
<%= crop.zn %>
65
</p>
66
67
<p>
68
<strong>B:</strong>
69
<%= crop.b %>
70
</p>
71
72
<p>
73
<strong>Mn:</strong>
74
<%= crop.mn %>
75
</p>
76
77
<p>
78
<strong>Cu:</strong>
79
<%= crop.cu %>
80
</p>
81
82
<p>
83
<strong>Mo:</strong>
84
<%= crop.mo %>
85
</p>
86
87
<p>
88
<strong>Nnh4:</strong>
89
<%= crop.nnh4 %>
90
</p>
91
92
</div>
93