Fix annoucement front_end displaying two promoter
This commit is contained in:
parent
385e77f189
commit
0d4e58e2f1
|
@ -44,15 +44,8 @@
|
|||
<% end %>
|
||||
</div>
|
||||
|
||||
<% unless @bulletin.user_ids.blank? %>
|
||||
<div class="promoter">
|
||||
<div>
|
||||
<p><%= t(:promoter) %>:</p>
|
||||
<span><%= @bulletin.get_users.map{|u| "<span>#{u.name}</span>"}.join(', ').html_safe %></span>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= share_links(@bulletin, 'announcement') %>
|
||||
|
||||
<%= render partial: 'admin/member_selects/promoter_front', locals: {users: @bulletin.get_users} %>
|
||||
<% unless @bulletin.user_ids.blank? %>
|
||||
<%= render partial: 'admin/member_selects/promoter_front', locals: {users: @bulletin.get_users} %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue