X-Git-Url: https://git.r.bdr.sh/rbdr/grita/blobdiff_plain/b7be4f63119c71b07eacc9af9e6a15db63ef65ea..HEAD:/views/grito.haml diff --git a/views/grito.haml b/views/grito.haml index 3408b0a..22cfc9b 100644 --- a/views/grito.haml +++ b/views/grito.haml @@ -1,8 +1,7 @@ %h1= @grito.title = @markdown.to_html %hr -%h1 Comparte este texto. -%p Puedes usar esta dirección para pasar a tus amigos por web: -%input.url{:value => "http://grita.heroku.com/#{@grito.gethash}"} -%p o puedes usar esta imagen para imprimirla y compartir físicamente con el mundo: -%img#qrcode{:alt=>"Código QR", :src=>"/qr/#{@grito.gethash}.png"} \ No newline at end of file +#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