diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-08-24 20:29:54 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-08-24 20:29:54 +0200 |
commit | 52b044d6a4278c229992404ad5801769c2d13363 (patch) | |
tree | b30b34da58f26117c035391d09366b190350b1e3 /app/views/crops/_crop.html.erb |
First commit.
Vive le Castel Peter !
Diffstat (limited to 'app/views/crops/_crop.html.erb')
-rw-r--r-- | app/views/crops/_crop.html.erb | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/app/views/crops/_crop.html.erb b/app/views/crops/_crop.html.erb new file mode 100644 index 0000000..e9b9b4d --- /dev/null +++ b/app/views/crops/_crop.html.erb @@ -0,0 +1,92 @@ +<div id="<%= dom_id crop %>"> + <p> + <strong>Name:</strong> + <%= crop.name %> + </p> + + <p> + <strong>Crop type:</strong> + <%= crop.crop_type %> + </p> + + <p> + <strong>Nno3:</strong> + <%= crop.nno3 %> + </p> + + <p> + <strong>P:</strong> + <%= crop.p %> + </p> + + <p> + <strong>K:</strong> + <%= crop.k %> + </p> + + <p> + <strong>Ca:</strong> + <%= crop.ca %> + </p> + + <p> + <strong>Mg:</strong> + <%= crop.mg %> + </p> + + <p> + <strong>S:</strong> + <%= crop.s %> + </p> + + <p> + <strong>Na:</strong> + <%= crop.na %> + </p> + + <p> + <strong>Cl:</strong> + <%= crop.cl %> + </p> + + <p> + <strong>Si:</strong> + <%= crop.si %> + </p> + + <p> + <strong>Fe:</strong> + <%= crop.fe %> + </p> + + <p> + <strong>Zn:</strong> + <%= crop.zn %> + </p> + + <p> + <strong>B:</strong> + <%= crop.b %> + </p> + + <p> + <strong>Mn:</strong> + <%= crop.mn %> + </p> + + <p> + <strong>Cu:</strong> + <%= crop.cu %> + </p> + + <p> + <strong>Mo:</strong> + <%= crop.mo %> + </p> + + <p> + <strong>Nnh4:</strong> + <%= crop.nnh4 %> + </p> + +</div> |