We had inconsistent indentation in many places. Now we're fixing them and adding a linter to our CI so we don't accidentally introduce inconsistent indentations again.
30 lines
742 B
Plaintext
30 lines
742 B
Plaintext
<%= link_to t("admin.polls.edit.title"),
|
|
edit_admin_poll_path(@poll),
|
|
class: "button hollow float-right" %>
|
|
|
|
<h2 class="inline-block">
|
|
<%= @poll.name %>
|
|
</h2>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div class="callout highlight">
|
|
<div class="inline-block">
|
|
<strong><%= t("admin.polls.index.dates") %></strong>
|
|
<br>
|
|
<%= render Admin::DurationComponent.new(@poll) %>
|
|
</div>
|
|
|
|
<% if @poll.geozone_restricted %>
|
|
<div class="inline-block margin-left">
|
|
<strong><%= t("admin.polls.index.geozone_restricted") %></strong>
|
|
<br>
|
|
<%= @poll.geozones.pluck(:name).to_sentence %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="callout warning">
|
|
<strong><%= t("admin.questions.no_edit") %></strong>
|
|
</div>
|