]> git.r.bdr.sh - rbdr/grita/blobdiff - views/grito.haml
Fixes QR Codes.
[rbdr/grita] / views / grito.haml
index a8e5eb54f4c8cf49f218f5b8b2bd0736c57d16d7..22cfc9bbde5d7e430f5bca61631affd2cfdc48b8 100644 (file)
@@ -1,8 +1,7 @@
-%h1 The Sorrows of Young Werther
-%p
-       :markdown
-               A **wonderful serenity** has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart. I am alone, and feel the charm of existence in this spot, which was created for the bliss of souls like mine.
-
-               I am so happy, *my dear friend*, so absorbed in the exquisite sense of mere tranquil existence, that I neglect my talents. I should be incapable of drawing a single stroke at the present moment; and yet I feel that I never was a greater artist than now.
-
-               When, while the lovely valley teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my trees, and but a few stray gleams steal into the inner sanctuary, I throw myself down among the tall grass by the trickling stream; and, as I lie close to the earth, a thousand unknown plants are noticed by me: when I hear the buzz of the little world among the stalks, and grow familiar with the countless indescribable forms of the insects and flies, then I feel the presence of the Almighty, who formed us in his own image,
\ No newline at end of file
+%h1= @grito.title
+= @markdown.to_html
+%hr
+#sharing
+       %input.url{:value => "http://#{request.host}/#{@grito.gethash}", :readonly=>true}
+       %br
+       %img#qrcode{:alt=>"Código QR", :src=>"/qr/#{@grito.gethash}.png"}
\ No newline at end of file