Apply Style/HashSyntax rule in ERB files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<% information_texts_tabs.each do |tab| %>
|
||||
<li class="tabs-title">
|
||||
<% if tab.to_s == @tab %>
|
||||
<%= link_to t("admin.menu.site_customization.information_texts_menu.#{tab}"), admin_site_customization_information_texts_path(tab: tab), :class => "is-active" %>
|
||||
<%= link_to t("admin.menu.site_customization.information_texts_menu.#{tab}"), admin_site_customization_information_texts_path(tab: tab), class: "is-active" %>
|
||||
<% else %>
|
||||
<%= link_to t("admin.menu.site_customization.information_texts_menu.#{tab}"), admin_site_customization_information_texts_path(tab: tab) %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h2><%= t("devise.password_expired.expire_password") %></h2>
|
||||
|
||||
<%= form_for(resource, :as => resource_name, :url => [resource_name, :password_expired], :html => { :method => :put }) do |f| %>
|
||||
<%= form_for(resource, as: resource_name, url: [resource_name, :password_expired], html: { method: :put }) do |f| %>
|
||||
|
||||
<%= f.password_field :current_password %></p>
|
||||
<%= f.password_field :password, label: t("devise.password_expired.new_password") %></p>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<li>
|
||||
<%= link_to t("views.pagination.first"), url, :remote => remote %>
|
||||
<%= link_to t("views.pagination.first"), url, remote: remote %>
|
||||
</li>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<li>
|
||||
<%= link_to t("views.pagination.last"), url, :remote => remote %>
|
||||
<%= link_to t("views.pagination.last"), url, remote: remote %>
|
||||
</li>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<li class="pagination-next">
|
||||
<%= link_to t("views.pagination.next"), url, :rel => "next", :remote => remote %>
|
||||
<%= link_to t("views.pagination.next"), url, rel: "next", remote: remote %>
|
||||
</li>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
</li>
|
||||
<% else %>
|
||||
<li>
|
||||
<%= link_to page, url, { :remote => remote, :rel => page.next? ? "next" : page.prev? ? "prev" : nil } %>
|
||||
<%= link_to page, url, { remote: remote, rel: page.next? ? "next" : page.prev? ? "prev" : nil } %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<li class="pagination-previous">
|
||||
<%= link_to t("views.pagination.previous"), url, :rel => "prev", :remote => remote %>
|
||||
<%= link_to t("views.pagination.previous"), url, rel: "prev", remote: remote %>
|
||||
</li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%= form_for(@proposal, url: form_url) do |f| %>
|
||||
<%= render "shared/errors", resource: @proposal %>
|
||||
|
||||
<%= f.hidden_field(:legislation_process_id, :value => params[:process_id]) %>
|
||||
<%= f.hidden_field(:legislation_process_id, value: params[:process_id]) %>
|
||||
|
||||
<div class="row">
|
||||
<div class="small-12 column">
|
||||
|
||||
Reference in New Issue
Block a user