diff options
author | Marius Peter <dev@marius-peter.com> | 2025-09-08 21:21:56 +0200 |
---|---|---|
committer | Marius Peter <dev@marius-peter.com> | 2025-09-08 21:21:56 +0200 |
commit | 7116826b854188604e21e2a613ac6672b6fd81f3 (patch) | |
tree | 33150bf2e04e69b8e1fa7d37901d2643b1955534 /app/views/nutrient_measurement | |
parent | 8ba568ae0ebe715b5da453681eb141886f1977a8 (diff) |
Create Target and nutrient target table on dashboard.
Diffstat (limited to 'app/views/nutrient_measurement')
-rw-r--r-- | app/views/nutrient_measurement/index.html.erb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app/views/nutrient_measurement/index.html.erb b/app/views/nutrient_measurement/index.html.erb deleted file mode 100644 index d9f522e..0000000 --- a/app/views/nutrient_measurement/index.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -<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> |