Commit 307d684c authored by marcheing's avatar marcheing

Add translations and necessary inputs for share button

parent 3e9dd6b6
<main>
<%= hidden_field_tag 'share_translation', t('.share') %>
<%= hidden_field_tag 'share_instructions_translation', t('.share_instructions') %>
<%= hidden_field_tag 'video_link', content_url(@content.id) %>
<div class="content-detailed-section">
<div class="autoplay-section">
<div class="autoplay-label"><%= t('.autoplay') %></div>
......@@ -57,3 +60,6 @@
</div>
</div>
</main>
<% content_for :footer do %>
<%= javascript_include_tag 'contents/share_button.js' %>
<% end %>
......@@ -39,3 +39,5 @@ en:
comment_this_content: Comment this content
post_comment: Post comment
see_more: See more
share: Share
share_instructions: 'Copy the link below and paste it wherever you want:'
......@@ -39,3 +39,5 @@ pt-BR:
comment_this_content: Comentar neste conteúdo
post_comment: Postar comentário
see_more: Veja mais
share: Compartilhar
share_instructions: 'Copie o link abaixo e compartilhe onde preferir:'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment