From c62da726b8165c0af10eeb4f648ead45d486a389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 22 Jun 2019 16:12:08 +0200 Subject: [PATCH] Apply `SpaceAroundErbTag` ERB Lint rule --- app/views/account/show.html.erb | 4 ++-- app/views/admin/_menu.html.erb | 6 +++--- app/views/admin/administrators/index.html.erb | 2 +- app/views/admin/banners/_form.html.erb | 4 ++-- app/views/admin/banners/index.html.erb | 6 +++--- app/views/admin/budget_investments/_investments.html.erb | 4 ++-- app/views/admin/legislation/draft_versions/index.html.erb | 2 +- .../legislation/questions/_question_option_fields.html.erb | 2 +- app/views/admin/organizations/index.html.erb | 2 +- app/views/admin/poll/booth_assignments/show.html.erb | 2 +- .../admin/poll/officer_assignments/by_officer.html.erb | 2 +- app/views/admin/stats/direct_messages.html.erb | 2 +- app/views/admin/stats/polls.html.erb | 2 +- app/views/admin/stats/proposal_notifications.html.erb | 2 +- app/views/admin/stats/show.html.erb | 2 +- app/views/admin/tags/index.html.erb | 2 +- app/views/budgets/investments/_ballot.html.erb | 2 +- app/views/budgets/investments/index.html.erb | 2 +- app/views/comments/_commentable_tree.html.erb | 2 +- app/views/communities/_participant.html.erb | 2 +- app/views/debates/_comments.html.erb | 2 +- app/views/debates/_featured_debates.html.erb | 2 +- app/views/debates/_form.html.erb | 2 +- app/views/debates/_votes.html.erb | 2 +- app/views/devise/passwords/edit.html.erb | 2 +- app/views/direct_messages/show.html.erb | 2 +- app/views/documents/_document.html.erb | 2 +- app/views/documents/_nested_documents.html.erb | 2 +- app/views/layouts/_admin_header.html.erb | 2 +- app/views/layouts/_common_head.html.erb | 2 +- app/views/layouts/_header.html.erb | 2 +- app/views/layouts/_meta_tags.html.erb | 4 ++-- app/views/layouts/_tracking_data.html.erb | 2 +- app/views/legislation/proposals/_comments.html.erb | 2 +- app/views/legislation/proposals/_featured_votes.html.erb | 2 +- app/views/mailer/direct_message_for_receiver.html.erb | 2 +- app/views/mailer/direct_message_for_sender.html.erb | 2 +- app/views/officing/_menu.html.erb | 2 +- app/views/officing/residence/_errors.html.erb | 2 +- app/views/officing/results/new.html.erb | 2 +- app/views/pages/custom_page.html.erb | 2 +- app/views/polls/_comments.html.erb | 2 +- app/views/proposals/_comments.html.erb | 2 +- app/views/proposals/_featured_votes.html.erb | 2 +- app/views/proposals/new.html.erb | 2 +- app/views/relationable/_related_list.html.erb | 2 +- app/views/relationable/_score.html.erb | 2 +- app/views/shared/_social_media_meta_tags.html.erb | 2 +- app/views/shared/_social_share.html.erb | 2 +- app/views/shared/_suggest.html.erb | 6 +++--- app/views/topics/_comments.html.erb | 2 +- app/views/verification/letter/edit.html.erb | 2 +- app/views/verification/letter/new.html.erb | 2 +- app/views/verification/letter/show.html.erb | 2 +- app/views/verification/residence/_errors.html.erb | 2 +- app/views/verification/residence/new.html.erb | 2 +- app/views/verification/sms/edit.html.erb | 2 +- app/views/verification/sms/new.html.erb | 2 +- app/views/welcome/_header.html.erb | 2 +- app/views/welcome/_recommended.html.erb | 2 +- 60 files changed, 70 insertions(+), 70 deletions(-) diff --git a/app/views/account/show.html.erb b/app/views/account/show.html.erb index b1f16af33..b1fda5247 100644 --- a/app/views/account/show.html.erb +++ b/app/views/account/show.html.erb @@ -16,7 +16,7 @@
-

<%= t("account.show.personal")%>

+

<%= t("account.show.personal") %>

<% if @account.organization? %> @@ -50,7 +50,7 @@
<% if @account.email.present? %> -

<%= t("account.show.notifications")%>

+

<%= t("account.show.notifications") %>

<%= f.label :email_on_comment do %> diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index fa135908b..91245c0cf 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -205,7 +205,7 @@
  • > - <%= link_to t("admin.menu.moderators"), admin_moderators_path%> + <%= link_to t("admin.menu.moderators"), admin_moderators_path %>
  • > @@ -281,7 +281,7 @@ <%= t("admin.menu.title_settings") %> -
      > +
        >
      • > <%= link_to t("admin.menu.settings"), admin_settings_path %>
      • @@ -300,7 +300,7 @@
      • > - <%= link_to t("admin.menu.site_customization.content_blocks"), admin_site_customization_content_blocks_path%> + <%= link_to t("admin.menu.site_customization.content_blocks"), admin_site_customization_content_blocks_path %>
      • > diff --git a/app/views/admin/administrators/index.html.erb b/app/views/admin/administrators/index.html.erb index 469905279..304760c7e 100644 --- a/app/views/admin/administrators/index.html.erb +++ b/app/views/admin/administrators/index.html.erb @@ -15,7 +15,7 @@ <%= t("admin.shared.actions") %> <% @administrators.each do |administrator| %> - + <%= administrator.id %> diff --git a/app/views/admin/banners/_form.html.erb b/app/views/admin/banners/_form.html.erb index 4bb19e227..f6e17cf10 100644 --- a/app/views/admin/banners/_form.html.erb +++ b/app/views/admin/banners/_form.html.erb @@ -15,7 +15,7 @@ class: "js-calendar-full", id: "post_started_at" %>
  • - <% date_ended_at = @banner.post_ended_at.present? ? I18n.localize(@banner.post_ended_at) : ""%> + <% date_ended_at = @banner.post_ended_at.present? ? I18n.localize(@banner.post_ended_at) : "" %>
    <%= f.label :post_ended_at, t("admin.banners.banner.post_ended_at") %> <%= f.text_field :post_ended_at, @@ -40,7 +40,7 @@ <%= translations_form.text_field :description, placeholder: t("admin.banners.banner.description"), data: {js_banner_description: "js_banner_description"}, - label: t("admin.banners.banner.description") %> + label: t("admin.banners.banner.description") %>
    <% end %>
    diff --git a/app/views/admin/banners/index.html.erb b/app/views/admin/banners/index.html.erb index 8ab4463d8..8c099f4f8 100644 --- a/app/views/admin/banners/index.html.erb +++ b/app/views/admin/banners/index.html.erb @@ -11,9 +11,9 @@ - - - + + + diff --git a/app/views/admin/budget_investments/_investments.html.erb b/app/views/admin/budget_investments/_investments.html.erb index cdc7e7651..5c6d12e31 100644 --- a/app/views/admin/budget_investments/_investments.html.erb +++ b/app/views/admin/budget_investments/_investments.html.erb @@ -8,7 +8,7 @@ class: "button hollow float-right clear" %> <% else %> - <%= t("admin.budgets.winners.calculate")%> + <%= t("admin.budgets.winners.calculate") %>
    <%= t("admin.budget_investments.index.cannot_calculate_winners") %> @@ -27,7 +27,7 @@
    <%= t("admin.banners.banner.post_started_at")%><%= t("admin.banners.banner.post_ended_at")%><%= t("admin.actions.actions")%><%= t("admin.banners.banner.post_started_at") %><%= t("admin.banners.banner.post_ended_at") %><%= t("admin.actions.actions") %>
    - + diff --git a/app/views/admin/legislation/draft_versions/index.html.erb b/app/views/admin/legislation/draft_versions/index.html.erb index 0abbf128d..c4f6ccc25 100644 --- a/app/views/admin/legislation/draft_versions/index.html.erb +++ b/app/views/admin/legislation/draft_versions/index.html.erb @@ -38,7 +38,7 @@ diff --git a/app/views/admin/poll/booth_assignments/show.html.erb b/app/views/admin/poll/booth_assignments/show.html.erb index 64d73ebaf..26e6650d9 100644 --- a/app/views/admin/poll/booth_assignments/show.html.erb +++ b/app/views/admin/poll/booth_assignments/show.html.erb @@ -67,7 +67,7 @@ <% unless @poll.recounts_confirmed? %> diff --git a/app/views/admin/poll/officer_assignments/by_officer.html.erb b/app/views/admin/poll/officer_assignments/by_officer.html.erb index 21e4c9b0c..f6507d6b0 100644 --- a/app/views/admin/poll/officer_assignments/by_officer.html.erb +++ b/app/views/admin/poll/officer_assignments/by_officer.html.erb @@ -21,7 +21,7 @@ <% @officer_assignments.each do |officer_assignment| %> - + <% end %> diff --git a/app/views/admin/stats/direct_messages.html.erb b/app/views/admin/stats/direct_messages.html.erb index 4a8a55829..df5621a13 100644 --- a/app/views/admin/stats/direct_messages.html.erb +++ b/app/views/admin/stats/direct_messages.html.erb @@ -1,6 +1,6 @@ <%= back_link_to %> -

    <%= t("admin.stats.direct_messages.title")%>

    +

    <%= t("admin.stats.direct_messages.title") %>

    diff --git a/app/views/admin/stats/polls.html.erb b/app/views/admin/stats/polls.html.erb index 4373e5eae..d40e4280b 100644 --- a/app/views/admin/stats/polls.html.erb +++ b/app/views/admin/stats/polls.html.erb @@ -1,6 +1,6 @@ <%= back_link_to %> -

    <%= t("admin.stats.polls.title")%>

    +

    <%= t("admin.stats.polls.title") %>

    diff --git a/app/views/admin/stats/proposal_notifications.html.erb b/app/views/admin/stats/proposal_notifications.html.erb index e26ac3431..4a5501177 100644 --- a/app/views/admin/stats/proposal_notifications.html.erb +++ b/app/views/admin/stats/proposal_notifications.html.erb @@ -1,6 +1,6 @@ <%= back_link_to %> -

    <%= t("admin.stats.proposal_notifications.title")%>

    +

    <%= t("admin.stats.proposal_notifications.title") %>

    diff --git a/app/views/admin/stats/show.html.erb b/app/views/admin/stats/show.html.erb index 18c69b304..4f754fcb0 100644 --- a/app/views/admin/stats/show.html.erb +++ b/app/views/admin/stats/show.html.erb @@ -101,7 +101,7 @@

    <%= t "admin.stats.show.summary.verified_users_who_didnt_vote_proposals" %>
    - <%=number_with_delimiter(@user_ids_who_didnt_vote_proposals)%> + <%= number_with_delimiter(@user_ids_who_didnt_vote_proposals) %>

    diff --git a/app/views/admin/tags/index.html.erb b/app/views/admin/tags/index.html.erb index 57ca27ffd..3bdad5a9c 100644 --- a/app/views/admin/tags/index.html.erb +++ b/app/views/admin/tags/index.html.erb @@ -4,7 +4,7 @@ <%= form_for(@tag, url: admin_tags_path, as: :tag) do |f| %>
    <%= f.label :name, t("admin.tags.name.placeholder") %> - <%= f.text_field :name, placeholder: t("admin.tags.name.placeholder"), label: false %> + <%= f.text_field :name, placeholder: t("admin.tags.name.placeholder"), label: false %>
    <%= f.submit(t("admin.tags.create"), class: "button success") %> diff --git a/app/views/budgets/investments/_ballot.html.erb b/app/views/budgets/investments/_ballot.html.erb index a94f0a5f2..2913d2a32 100644 --- a/app/views/budgets/investments/_ballot.html.erb +++ b/app/views/budgets/investments/_ballot.html.erb @@ -51,7 +51,7 @@ budget_investments_path(budget_id: investment.budget_id, heading_id: investment.heading_id)) %> <% change_ballot = link_to(t("budgets.ballots.reasons_for_not_balloting.change_ballot"), - budget_ballot_path(@budget))%> + budget_ballot_path(@budget)) %>

    diff --git a/app/views/budgets/investments/index.html.erb b/app/views/budgets/investments/index.html.erb index 34a6ff711..f1e53520b 100644 --- a/app/views/budgets/investments/index.html.erb +++ b/app/views/budgets/investments/index.html.erb @@ -21,7 +21,7 @@ <%= render "/budgets/investments/header" %> <% end %> - <% if params[:search].present? || params[:advanced_search].present? %> + <% if params[:search].present? || params[:advanced_search].present? %>

    diff --git a/app/views/comments/_commentable_tree.html.erb b/app/views/comments/_commentable_tree.html.erb index f6631ea4c..07ba48f52 100644 --- a/app/views/comments/_commentable_tree.html.erb +++ b/app/views/comments/_commentable_tree.html.erb @@ -29,7 +29,7 @@ <% @comment_tree.root_comments.each do |comment| %> <%= render "comments/comment", { comment: comment, valuation: valuation, - allow_comments: allow_comments } %> + allow_comments: allow_comments } %> <% end %> <%= paginate @comment_tree.root_comments %>
    diff --git a/app/views/communities/_participant.html.erb b/app/views/communities/_participant.html.erb index fd9ed1dd0..278deb0d9 100644 --- a/app/views/communities/_participant.html.erb +++ b/app/views/communities/_participant.html.erb @@ -6,7 +6,7 @@
    - <%= link_to participant.name, user_path(participant)%> + <%= link_to participant.name, user_path(participant) %> <% if author?(@community, participant) %> diff --git a/app/views/debates/_comments.html.erb b/app/views/debates/_comments.html.erb index 7e041cdb5..9f74ad568 100644 --- a/app/views/debates/_comments.html.erb +++ b/app/views/debates/_comments.html.erb @@ -21,7 +21,7 @@ <% end %> <% @comment_tree.root_comments.each do |comment| %> - <%= render "comments/comment", comment: comment %> + <%= render "comments/comment", comment: comment %> <% end %> <%= paginate @comment_tree.root_comments %>
    diff --git a/app/views/debates/_featured_debates.html.erb b/app/views/debates/_featured_debates.html.erb index 577a6da77..26360194b 100644 --- a/app/views/debates/_featured_debates.html.erb +++ b/app/views/debates/_featured_debates.html.erb @@ -7,7 +7,7 @@ <% @featured_debates.each do |debate| %>

    <%= link_to debate.title, debate %>

    - <%= link_to debate.author.name, user_path(debate.author)%> + <%= link_to debate.author.name, user_path(debate.author) %>
    <% end %>
    diff --git a/app/views/debates/_form.html.erb b/app/views/debates/_form.html.erb index 33f60dd91..166c19030 100644 --- a/app/views/debates/_form.html.erb +++ b/app/views/debates/_form.html.erb @@ -34,7 +34,7 @@ placeholder: t("debates.form.tags_placeholder"), aria: {describedby: "tag-list-help-text"}, data: {js_url: suggest_tags_path}, - class: "tag-autocomplete"%> + class: "tag-autocomplete" %>
    <% if @debate.new_record? %> diff --git a/app/views/debates/_votes.html.erb b/app/views/debates/_votes.html.erb index 5ec065323..4dc9dff58 100644 --- a/app/views/debates/_votes.html.erb +++ b/app/views/debates/_votes.html.erb @@ -49,7 +49,7 @@ <%= t("votes.organizations") %>

    - <% elsif user_signed_in? && !debate.votable_by?(current_user)%> + <% elsif user_signed_in? && !debate.votable_by?(current_user) %>
    diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb index 9075bdd7c..07d31e026 100644 --- a/app/views/documents/_document.html.erb +++ b/app/views/documents/_document.html.erb @@ -1,4 +1,4 @@ -
  • +
  • <%= link_to t("documents.buttons.download_document"), document.attachment.url, target: "_blank", rel: "nofollow", class: "button hollow medium float-right" %> diff --git a/app/views/documents/_nested_documents.html.erb b/app/views/documents/_nested_documents.html.erb index 8a4814aee..239a77de4 100644 --- a/app/views/documents/_nested_documents.html.erb +++ b/app/views/documents/_nested_documents.html.erb @@ -2,7 +2,7 @@ <%= f.label :documents, t("documents.form.title") %>

    <%= documentables_note(documentable) %>

    -
    +
    <%= f.fields_for :documents do |documents_builder| %> <%= render "documents/document_fields", f: documents_builder %> <% end %> diff --git a/app/views/layouts/_admin_header.html.erb b/app/views/layouts/_admin_header.html.erb index d05e61515..1995fa7ff 100644 --- a/app/views/layouts/_admin_header.html.erb +++ b/app/views/layouts/_admin_header.html.erb @@ -12,7 +12,7 @@
    -
    <%= t("application.menu")%>
    +
    <%= t("application.menu") %>
    diff --git a/app/views/layouts/_common_head.html.erb b/app/views/layouts/_common_head.html.erb index 54779408c..377045e03 100644 --- a/app/views/layouts/_common_head.html.erb +++ b/app/views/layouts/_common_head.html.erb @@ -1,7 +1,7 @@ -<%= content_for?(:title) ? yield(:title) : default_title %> +<%= content_for?(:title) ? yield(:title) : default_title %> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index e93075833..a65f1a8b0 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -17,7 +17,7 @@ - <%= t("application.menu")%> + <%= t("application.menu") %>
    diff --git a/app/views/layouts/_meta_tags.html.erb b/app/views/layouts/_meta_tags.html.erb index 443f7352f..a729d2a77 100644 --- a/app/views/layouts/_meta_tags.html.erb +++ b/app/views/layouts/_meta_tags.html.erb @@ -1,5 +1,5 @@ " /> + content="<%= content_for?(:meta_description) ? yield(:meta_description) : setting["meta_description"] %>" /> " /> + content="<%= content_for?(:meta_keywords) ? yield(:meta_keywords) : setting["meta_keywords"] %>" /> diff --git a/app/views/layouts/_tracking_data.html.erb b/app/views/layouts/_tracking_data.html.erb index a0be1bafa..2287c46fd 100644 --- a/app/views/layouts/_tracking_data.html.erb +++ b/app/views/layouts/_tracking_data.html.erb @@ -1 +1 @@ -/> +/> diff --git a/app/views/legislation/proposals/_comments.html.erb b/app/views/legislation/proposals/_comments.html.erb index 6615c682b..092ec8140 100644 --- a/app/views/legislation/proposals/_comments.html.erb +++ b/app/views/legislation/proposals/_comments.html.erb @@ -16,7 +16,7 @@ <% end %> <% @comment_tree.root_comments.each do |comment| %> - <%= render "comments/comment", comment: comment %> + <%= render "comments/comment", comment: comment %> <% end %> <%= paginate @comment_tree.root_comments %>
    diff --git a/app/views/legislation/proposals/_featured_votes.html.erb b/app/views/legislation/proposals/_featured_votes.html.erb index a6263ee2e..01f05497c 100644 --- a/app/views/legislation/proposals/_featured_votes.html.erb +++ b/app/views/legislation/proposals/_featured_votes.html.erb @@ -19,7 +19,7 @@ <%= t("votes.organizations") %>

    - <% elsif user_signed_in? && !proposal.votable_by?(current_user)%> + <% elsif user_signed_in? && !proposal.votable_by?(current_user) %>
  • <%= link_to_investments_sorted_by :id %><%= link_to_investments_sorted_by :id %> <%= link_to_investments_sorted_by :title %> <%= link_to_investments_sorted_by :supports %> <%= t("admin.budget_investments.index.list.admin") %> <% if draft_version.status == "draft" %> <%= t("admin.legislation.draft_versions.statuses.draft") %> - <%= link_to "(#{t(".preview")})", legislation_process_draft_version_path(@process, draft_version) %> + <%= link_to "(#{t(".preview")})", legislation_process_draft_version_path(@process, draft_version) %> <% else %> <%= t("admin.legislation.draft_versions.statuses.published") %> <% end %> diff --git a/app/views/admin/legislation/questions/_question_option_fields.html.erb b/app/views/admin/legislation/questions/_question_option_fields.html.erb index e1f729a0e..c610c298c 100644 --- a/app/views/admin/legislation/questions/_question_option_fields.html.erb +++ b/app/views/admin/legislation/questions/_question_option_fields.html.erb @@ -9,7 +9,7 @@
    - <%= link_to_remove_association t("admin.legislation.questions.question_option_fields.remove_option"), f, class: "delete"%> + <%= link_to_remove_association t("admin.legislation.questions.question_option_fields.remove_option"), f, class: "delete" %>
    diff --git a/app/views/admin/organizations/index.html.erb b/app/views/admin/organizations/index.html.erb index c42f3fcd6..9b3d3249f 100644 --- a/app/views/admin/organizations/index.html.erb +++ b/app/views/admin/organizations/index.html.erb @@ -57,7 +57,7 @@ <% if can? :reject, organization %> <%= link_to t("admin.organizations.index.reject"), reject_admin_organization_path(organization, request.query_parameters), - method: :put, class: "button hollow alert small-5"%> + method: :put, class: "button hollow alert small-5" %> <% end %>
    - <%= total_recounts_by_booth(@booth_assignment) || "-" %> + <%= total_recounts_by_booth(@booth_assignment) || "-" %>
    <%= l(officer_assignment.date.to_date)%> <%= content_tag :strong, t("polls.final_date") if officer_assignment.final %><%= l(officer_assignment.date.to_date) %> <%= content_tag :strong, t("polls.final_date") if officer_assignment.final %> <%= booth_name_with_location(officer_assignment.booth_assignment.booth) %>
    diff --git a/app/views/mailer/direct_message_for_sender.html.erb b/app/views/mailer/direct_message_for_sender.html.erb index cc4ee29f4..45336c13b 100644 --- a/app/views/mailer/direct_message_for_sender.html.erb +++ b/app/views/mailer/direct_message_for_sender.html.erb @@ -10,6 +10,6 @@
    - <%= simple_format text_with_links(@direct_message.body), {}, sanitize: false %> + <%= simple_format text_with_links(@direct_message.body), {}, sanitize: false %>
    diff --git a/app/views/officing/_menu.html.erb b/app/views/officing/_menu.html.erb index 5630702c0..00c9c39d2 100644 --- a/app/views/officing/_menu.html.erb +++ b/app/views/officing/_menu.html.erb @@ -18,6 +18,6 @@ <%= t("officing.menu.total_recounts") %> <% end %> - <% end%> + <% end %> diff --git a/app/views/officing/residence/_errors.html.erb b/app/views/officing/residence/_errors.html.erb index 4f8895a35..e24dfee0d 100644 --- a/app/views/officing/residence/_errors.html.erb +++ b/app/views/officing/residence/_errors.html.erb @@ -10,5 +10,5 @@ <% else %> <%= render "shared/errors", resource: @residence, - message: t("officing.residence.new.form_errors") %> + message: t("officing.residence.new.form_errors") %> <% end %> diff --git a/app/views/officing/results/new.html.erb b/app/views/officing/results/new.html.erb index 4beda8f75..eb2a0ca5b 100644 --- a/app/views/officing/results/new.html.erb +++ b/app/views/officing/results/new.html.erb @@ -66,7 +66,7 @@
    - + diff --git a/app/views/pages/custom_page.html.erb b/app/views/pages/custom_page.html.erb index e2c6bbeb1..58181259d 100644 --- a/app/views/pages/custom_page.html.erb +++ b/app/views/pages/custom_page.html.erb @@ -6,7 +6,7 @@

    <%= @custom_page.title %>

    <% if @custom_page.subtitle.present? %> -

    <%= @custom_page.subtitle%>

    +

    <%= @custom_page.subtitle %>

    <% end %> <%= safe_html_with_links AdminWYSIWYGSanitizer.new.sanitize(@custom_page.content) %> diff --git a/app/views/polls/_comments.html.erb b/app/views/polls/_comments.html.erb index f8b9a72b6..82eb6b165 100644 --- a/app/views/polls/_comments.html.erb +++ b/app/views/polls/_comments.html.erb @@ -16,7 +16,7 @@ <% end %> <% @comment_tree.root_comments.each do |comment| %> - <%= render "comments/comment", comment: comment %> + <%= render "comments/comment", comment: comment %> <% end %> <%= paginate @comment_tree.root_comments %>
    diff --git a/app/views/proposals/_comments.html.erb b/app/views/proposals/_comments.html.erb index 6615c682b..092ec8140 100644 --- a/app/views/proposals/_comments.html.erb +++ b/app/views/proposals/_comments.html.erb @@ -16,7 +16,7 @@ <% end %> <% @comment_tree.root_comments.each do |comment| %> - <%= render "comments/comment", comment: comment %> + <%= render "comments/comment", comment: comment %> <% end %> <%= paginate @comment_tree.root_comments %> diff --git a/app/views/proposals/_featured_votes.html.erb b/app/views/proposals/_featured_votes.html.erb index a6263ee2e..01f05497c 100644 --- a/app/views/proposals/_featured_votes.html.erb +++ b/app/views/proposals/_featured_votes.html.erb @@ -19,7 +19,7 @@ <%= t("votes.organizations") %>

    - <% elsif user_signed_in? && !proposal.votable_by?(current_user)%> + <% elsif user_signed_in? && !proposal.votable_by?(current_user) %>
    <%= t("officing.results.new.date") %><%= t("officing.results.new.date") %> <%= t("officing.results.new.booth") %>