mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Added lints for ERB templates (#609)
* Added erblint and fixed offenses * Added erblint bintstub. Included erblint into CI * Merged GitHub Actions tasks for rubocop and erblint into one * Added config for erblint. * Reverted erblint call in the CI
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
<h1><% t('.title')%></h1>
|
||||
<h1><% t(".title") %></h1>
|
||||
|
||||
<%= form_with model: Current.user, url: password_path do |form| %>
|
||||
<%= auth_messages form %>
|
||||
|
||||
<div>
|
||||
<%= form.label :password_challenge, t('.password_challenge') %>
|
||||
<%= form.label :password_challenge, t(".password_challenge") %>
|
||||
<%= form.password_field :password_challenge %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= form.label :password, t('.password') %>
|
||||
<%= form.label :password, t(".password") %>
|
||||
<%= form.password_field :password %>
|
||||
</div>
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= form.submit t('.submit') %>
|
||||
<%= form.submit t(".submit") %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user