blob: d9f522ec856cb983a09eb7004c36052629d40a0a (
plain)
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
|
<h1>NutrientMeasurement#index</h1>
<p>Find me in app/views/nutrient_measurement/index.html.erb</p>
<div class="table-responsive">
<table class="table table-sm table-striped table-hover align-middle table-nutrient mb-0">
<thead class="table-light">
<tr>
<th>Date</th>
<th class="numeric" title="Total N = NO₃‑N + NH₄‑N">N (total)</th>
<th class="numeric">P</th>
<th class="numeric">K</th>
<th class="numeric" title="Ammonia nitrogen">NH₄‑N</th>
</tr>
</thead>
<tbody>
<% @measurements.each do |m| %>
<tr>
<td><%= l(m.measured_on) %></td>
<td class="numeric"><%= fmt2(total_n(m)) %></td>
<td class="numeric"><%= fmt2(m.p) %></td>
<td class="numeric"><%= fmt2(m.k) %></td>
<td class="numeric"><%= fmt2(m.nnh4) %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
|