]> git.r.bdr.sh - rbdr/grita/blobdiff - views/grito.haml
Added git ignore.
[rbdr/grita] / views / grito.haml
index 1a3bbc2caf8d3ac65c17f1811d28401bf40d503a..5fac1c030f671324ef3729a3bcfb8af8de57a3f0 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://grita.heroku.com/#{@grito.gethash}", :readonly=>true}
+       %br
+       %img#qrcode{:alt=>"Código QR", :src=>"/qr/#{@grito.gethash}.png"}
\ No newline at end of file