]> git.r.bdr.sh - rbdr/grita/blobdiff - views/grito.haml
Fixes QR Codes.
[rbdr/grita] / views / grito.haml
index 1a3bbc2caf8d3ac65c17f1811d28401bf40d503a..22cfc9bbde5d7e430f5bca61631affd2cfdc48b8 100644 (file)
@@ -1,5 +1,7 @@
 %h1= @grito.title
-%p= @grito.text
-%h2 Share
-%p=    "http://grita.heroku.com/#{@grito.gethash}"
-%img#qrcode{:alt=>"Código QR", :src=>"/qr/#{@grito.gethash}.png"}
\ No newline at end of file
+= @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