Files
nairobi/app/views/communities/_poll.html.erb
Javi Martín 629e208e9d Add and apply ArgumentAlignment rubocop rule
We're choosing the default `with_first_argument` style because it's the
one we use the most.
2023-08-18 14:56:16 +02:00

12 lines
286 B
Plaintext

<div class="community-poll">
<h4>
<%= link_to poll.title, proposal_poll_path(@community.proposal, poll) %>
</h4>
<p class="topic-info">
<%= t("communities.poll.take_part",
from: l(poll.starts_at.to_date),
to: l(poll.ends_at.to_date)) %>
</p>
</div>