Refactor share buttons partial to use gem helper
This commit is contained in:
@@ -32,10 +32,11 @@
|
||||
|
||||
<aside class="small-12 medium-3 column">
|
||||
<div class="sidebar-divider"></div>
|
||||
<h2>Compartir</h2>
|
||||
<div class="social-share-full">
|
||||
<%= render '/legislation/shared/share_buttons', title: t('legislation.shared.share_comment', version_name: @draft_version.title.downcase, process_name: @process.title) %>
|
||||
</div>
|
||||
<h2><%= t('legislation.shared.share') %></h2>
|
||||
<%= render '/legislation/shared/share_buttons',
|
||||
title: t('legislation.shared.share_comment', version_name: @draft_version.title.downcase, process_name: @process.title),
|
||||
url: legislation_process_draft_version_annotations_path(@process, @draft_version)
|
||||
%>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user