Indent with spaces instead of tabs
This commit is contained in:
@@ -6,6 +6,8 @@ linters:
|
|||||||
enabled: false
|
enabled: false
|
||||||
SpaceAroundErbTag:
|
SpaceAroundErbTag:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
SpaceIndentation:
|
||||||
|
enabled: true
|
||||||
SpaceInHtmlTag:
|
SpaceInHtmlTag:
|
||||||
enabled: true
|
enabled: true
|
||||||
TrailingWhitespace:
|
TrailingWhitespace:
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<div class="poll-question-form">
|
<div class="poll-question-form">
|
||||||
<%= form_for(Poll::Question::Answer.new,
|
<%= form_for(Poll::Question::Answer.new,
|
||||||
url: admin_answer_images_path(@answer),
|
url: admin_answer_images_path(@answer),
|
||||||
method: :post) do |f| %>
|
method: :post) do |f| %>
|
||||||
<%= render "shared/errors", resource: @answer %>
|
<%= render "shared/errors", resource: @answer %>
|
||||||
|
|
||||||
<div class="images">
|
<div class="images">
|
||||||
<%= render "images/nested_image", imageable: @answer, f: f, image_fields: :images %>
|
<%= render "images/nested_image", imageable: @answer, f: f, image_fields: :images %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= f.submit t("admin.questions.answers.images.save_image"), class: "button success" %>
|
<%= f.submit t("admin.questions.answers.images.save_image"), class: "button success" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<% if @heading.allow_custom_content %>
|
<% if @heading.allow_custom_content %>
|
||||||
<ul class="no-bullet categories">
|
<ul class="no-bullet categories">
|
||||||
<% @heading_content_blocks.each do |content_block| %>
|
<% @heading_content_blocks.each do |content_block| %>
|
||||||
<%= raw content_block.body %>
|
<%= raw content_block.body %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -1,34 +1,34 @@
|
|||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<%- if controller_name != "sessions" %>
|
<%- if controller_name != "sessions" %>
|
||||||
<%= link_to t("devise_views.shared.links.login"), new_session_path(resource_name) %><br>
|
<%= link_to t("devise_views.shared.links.login"), new_session_path(resource_name) %><br>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<%#- if devise_mapping.registerable? &&
|
<%#- if devise_mapping.registerable? &&
|
||||||
controller_name != "registrations" ||
|
controller_name != "registrations" ||
|
||||||
controller_path != "users/registrations" %>
|
controller_path != "users/registrations" %>
|
||||||
<%#= link_to t("devise_views.shared.links.signup"), new_user_registration_path %><!-- <br> -->
|
<%#= link_to t("devise_views.shared.links.signup"), new_user_registration_path %><!-- <br> -->
|
||||||
<%# end -%>
|
<%# end -%>
|
||||||
|
|
||||||
<%#- if devise_mapping.registerable? && controller_name == "registrations" && controller_path != "organizations/registrations" %>
|
<%#- if devise_mapping.registerable? && controller_name == "registrations" && controller_path != "organizations/registrations" %>
|
||||||
<%#= link_to t("devise_views.shared.links.organization_signup"), new_organization_registration_path %>
|
<%#= link_to t("devise_views.shared.links.organization_signup"), new_organization_registration_path %>
|
||||||
<%# end -%>
|
<%# end -%>
|
||||||
|
|
||||||
<%#- if devise_mapping.recoverable? && controller_name != "passwords" && controller_name != "registrations" %>
|
<%#- if devise_mapping.recoverable? && controller_name != "passwords" && controller_name != "registrations" %>
|
||||||
<%#= link_to t("devise_views.shared.links.new_password"), new_password_path(resource_name) %><!-- <br> -->
|
<%#= link_to t("devise_views.shared.links.new_password"), new_password_path(resource_name) %><!-- <br> -->
|
||||||
<%# end -%>
|
<%# end -%>
|
||||||
|
|
||||||
<%- if devise_mapping.confirmable? && controller_name != "confirmations" %>
|
<%- if devise_mapping.confirmable? && controller_name != "confirmations" %>
|
||||||
<%= link_to t("devise_views.shared.links.new_confirmation"), new_confirmation_path(resource_name) %><br>
|
<%= link_to t("devise_views.shared.links.new_confirmation"), new_confirmation_path(resource_name) %><br>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != "unlocks" %>
|
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != "unlocks" %>
|
||||||
<%= link_to t("devise_views.shared.links.new_unlock"), new_unlock_path(resource_name) %><br>
|
<%= link_to t("devise_views.shared.links.new_unlock"), new_unlock_path(resource_name) %><br>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<%- if devise_mapping.omniauthable? && devise_mapping.name == "user" %>
|
<%- if devise_mapping.omniauthable? && devise_mapping.name == "user" %>
|
||||||
<%- resource_class.omniauth_providers.each do |provider| %>
|
<%- resource_class.omniauth_providers.each do |provider| %>
|
||||||
<%= link_to t("devise_views.shared.links.signin_with_provider", provider: provider.to_s.titleize), omniauth_authorize_path(resource_name, provider) %><br>
|
<%= link_to t("devise_views.shared.links.signin_with_provider", provider: provider.to_s.titleize), omniauth_authorize_path(resource_name, provider) %><br>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -13,10 +13,10 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<% if show_polls_description? %>
|
<% if show_polls_description? %>
|
||||||
<div class="polls-description">
|
<div class="polls-description">
|
||||||
<%= safe_html_with_links WYSIWYGSanitizer.new.sanitize(@active_poll.description) %>
|
<%= safe_html_with_links WYSIWYGSanitizer.new.sanitize(@active_poll.description) %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render "shared/filter_subnav", i18n_namespace: "polls.index" %>
|
<%= render "shared/filter_subnav", i18n_namespace: "polls.index" %>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user